On Mon, Sep 6, 2010 at 11:34 AM, alan <a....@birtles.org.uk> wrote:
I've just updated all our files to use __ANDROID__ instead of ANDROID
and am having the same problem as the above user that __ANDROID__
doesn't seem to be defined (I am using the crystax build if that makes
It doesn't seemed to be defined in the official NDK either...
I ran into this when I was playing with OGRE and same result. I had to
define __ANDROID__ myself.
On Sep 6, 1:18 pm, Peter <pete...@gmail.com> wrote:
Well, I tested it and now I'm confused, because without any flags
defined this _doesn't_ fail:
bla i = 5;
And if I print the build-in definitions using:
echo | arm-eabi-g++ -E -dM -
there is nothing defining __ANDROID__ (using NDK r4b).
So it's necessary to define it in the CMakeLists.txt?
On 6 Sep., 10:08, David Turner <di....@android.com> wrote:
Yes, __ANDROID__ is defined by GCC
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andr...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk+unsu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.