On Tue, Dec 20, 2011 at 02:11:04PM +0100, Cédric Deltheil wrote:
> I would say we really need to check both since I've observed that:
> * if you use Android.mk file(s) and the 'ndk-build' script (aka vanilla way),
> ANDROID is predefined (see -DANDROID extra C flag),
> * if you use the Android Standalone Toolchain, then __ANDROID__ is predefined
> as stated by the compiler:

This has been my experience as well. It doesn't make sense to me, either, but
that's how it seems to be done. I've only ever compiled it as part of a
full Android build using Android.mk, and then only ANDROID is predefined.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to