[PATCH 5/5] Added support for compiling against Android bionic
Denys Vlasenko
vda.linux at googlemail.com
Fri Jun 3 18:53:04 UTC 2011
On Wednesday 01 June 2011 22:36, Dan Fandrich wrote:
> It's not easy compiling something against bionic using the
> Android compiler outside the Android build system, but it can
> at least now happen.
>
> Signed-off-by: Dan Fandrich <dan at coneharvesters.com>
> ---
> include/platform.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/include/platform.h b/include/platform.h
> index 0b83d8f..429220b 100644
> --- a/include/platform.h
> +++ b/include/platform.h
> @@ -397,6 +397,13 @@ typedef unsigned smalluint;
> # undef HAVE_STPCPY
> #endif
>
> +#if defined(ANDROID)
> +# undef HAVE_DPRINTF
> +# undef HAVE_STPCPY
> +# undef HAVE_STRCHRNUL
> +# undef HAVE_NET_ETHERNET_H
> +#endif
> +
> /*
> * Now, define prototypes for all the functions defined in platform.c
> * These must come after all the HAVE_* macros are defined (or not)
Apllied sans "# undef HAVE_NET_ETHERNET_H" line.
Thanks!
--
vda
More information about the busybox
mailing list