summaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorDan Fandrich2011-06-03 20:51:58 +0200
committerDenys Vlasenko2011-06-03 20:51:58 +0200
commit71d73136250efa7dd5b5b023df76487f6e723830 (patch)
treebcc0d586977f042e3962723ae3b9964c0d56ab59 /include/platform.h
parent2f5769151fda6cec0f1ef7b5d345fb597160446e (diff)
downloadbusybox-71d73136250efa7dd5b5b023df76487f6e723830.zip
busybox-71d73136250efa7dd5b5b023df76487f6e723830.tar.gz
platform.h: support for build under Android
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h6
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)