[PATCH 5/5] Added support for compiling against Android bionic
Dan Fandrich
dan at coneharvesters.com
Wed Jun 1 20:36:39 UTC 2011
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 <dan at coneharvesters.com>
---
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
More information about the busybox
mailing list