I\'m working on an app which uses NDK (all I\'m writing happened both on r6b and r8d)
Everything was working fine, and I wanted to start and try debugging my C code.
Just so you know:
Android.mk file(s) and ndk-build, the ANDROID macro is predefined (see -DANDROID extra C flag when building with verbose outputs),__ANDROID__ is predefined instead.So I suggest you to use:
#if defined(ANDROID) || defined(__ANDROID__)
/* ... */
#endif