platform.h: support for build under Android
authorDan Fandrich <dan@coneharvesters.com>
Fri, 3 Jun 2011 18:51:58 +0000 (20:51 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 3 Jun 2011 18:51:58 +0000 (20:51 +0200)
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/platform.h

index 2b84447bcd69865858bc5c974e844f61c8ce5726..780568c2b77f856c480eb22e8f23c6d651d45eaf 100644 (file)
@@ -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)