Make busybox compile for 64-bits
This commit is contained in:
parent
4d384d7197
commit
9868494adb
14
packages/busybox/include-platform.h.patch64
Normal file
14
packages/busybox/include-platform.h.patch64
Normal file
@ -0,0 +1,14 @@
|
||||
fdprintf() does not exist in 64-bit bionic.
|
||||
|
||||
diff -u -r ../busybox-1.24.1/include/platform.h ./include/platform.h
|
||||
--- ../busybox-1.24.1/include/platform.h 2015-07-12 22:18:47.000000000 -0400
|
||||
+++ ./include/platform.h 2015-11-26 16:14:37.061610995 -0500
|
||||
@@ -480,7 +480,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(ANDROID) || defined(__ANDROID__)
|
||||
-# if __ANDROID_API__ < 8
|
||||
+# if __ANDROID_API__ < 8 || defined(__LP64__)
|
||||
# undef HAVE_DPRINTF
|
||||
# else
|
||||
# define dprintf fdprintf
|
Loading…
Reference in New Issue
Block a user