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 <[email protected]> > --- > 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 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
