It's not easy compiling something against bionic using the
Android compiler outside the Android build system, but it can
at least now happen.

Signed-off-by: Dan Fandrich <[email protected]>
---
 include/platform.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/include/platform.h b/include/platform.h
index 0b83d8f..429220b 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -397,6 +397,13 @@ typedef unsigned smalluint;
 # undef HAVE_STPCPY
 #endif
 
+#if defined(ANDROID)
+# undef HAVE_DPRINTF
+# undef HAVE_STPCPY
+# undef HAVE_STRCHRNUL
+# undef HAVE_NET_ETHERNET_H
+#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.5.3.2

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to