Fredrik Fornwall
9 years ago
5 changed files with 27 additions and 37 deletions
@ -0,0 +1,18 @@ |
|||
The r11 of NDK removed dprintf. |
|||
|
|||
diff -u -r ../busybox-1.24.1/include/platform.h ./include/platform.h
|
|||
--- ../busybox-1.24.1/include/platform.h 2015-07-13 04:18:47.000000000 +0200
|
|||
+++ ./include/platform.h 2016-03-10 11:47:06.000000000 +0100
|
|||
@@ -480,11 +480,7 @@
|
|||
#endif |
|||
|
|||
#if defined(ANDROID) || defined(__ANDROID__) |
|||
-# if __ANDROID_API__ < 8
|
|||
-# undef HAVE_DPRINTF
|
|||
-# else
|
|||
-# define dprintf fdprintf
|
|||
-# endif
|
|||
+# undef HAVE_DPRINTF
|
|||
# if __ANDROID_API__ < 21 |
|||
# undef HAVE_TTYNAME_R |
|||
# undef HAVE_GETLINE |
@ -1,14 +0,0 @@ |
|||
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