From 71d73136250efa7dd5b5b023df76487f6e723830 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 3 Jun 2011 20:51:58 +0200 Subject: [PATCH] platform.h: support for build under Android Signed-off-by: Dan Fandrich Signed-off-by: Denys Vlasenko --- include/platform.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/platform.h b/include/platform.h index 2b84447bc..780568c2b 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) -- 2.25.1