platform.h: support for build under Android

Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Dan Fandrich 2011-06-03 20:51:58 +02:00 committed by Denys Vlasenko
parent 2f5769151f
commit 71d7313625

View 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)