diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2011-06-03 20:51:58 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-03 20:51:58 +0200 |
commit | 71d73136250efa7dd5b5b023df76487f6e723830 (patch) | |
tree | bcc0d586977f042e3962723ae3b9964c0d56ab59 | |
parent | 2f5769151fda6cec0f1ef7b5d345fb597160446e (diff) | |
download | busybox-w32-71d73136250efa7dd5b5b023df76487f6e723830.tar.gz busybox-w32-71d73136250efa7dd5b5b023df76487f6e723830.tar.bz2 busybox-w32-71d73136250efa7dd5b5b023df76487f6e723830.zip |
platform.h: support for build under Android
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; | |||
391 | # undef HAVE_STPCPY | 391 | # undef HAVE_STPCPY |
392 | #endif | 392 | #endif |
393 | 393 | ||
394 | #if defined(ANDROID) | ||
395 | # undef HAVE_DPRINTF | ||
396 | # undef HAVE_STPCPY | ||
397 | # undef HAVE_STRCHRNUL | ||
398 | #endif | ||
399 | |||
394 | /* | 400 | /* |
395 | * Now, define prototypes for all the functions defined in platform.c | 401 | * Now, define prototypes for all the functions defined in platform.c |
396 | * These must come after all the HAVE_* macros are defined (or not) | 402 | * These must come after all the HAVE_* macros are defined (or not) |