[git commit] platform.h: support for build under Android

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 3 18:51:58 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=71d73136250efa7dd5b5b023df76487f6e723830
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Dan Fandrich <dan at coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 include/platform.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/platform.h b/include/platform.h
index 2b84447..780568c 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -391,6 +391,12 @@ typedef unsigned smalluint;
 # undef HAVE_STPCPY
 #endif
 
+#if defined(ANDROID)
+# undef HAVE_DPRINTF
+# undef HAVE_STPCPY
+# undef HAVE_STRCHRNUL
+#endif
+
 /*
  * Now, define prototypes for all the functions defined in platform.c
  * These must come after all the HAVE_* macros are defined (or not)
-- 
1.7.3.4



More information about the busybox-cvs mailing list