__ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.

This commit is contained in:
Dimitris Zenios
2014-05-05 22:21:26 +03:00
parent 3672aeb497
commit 548a0ee7b8
5 changed files with 7 additions and 7 deletions

View File

@@ -305,7 +305,7 @@ SDL_StreamDeinit(SDL_AudioStreamer * stream)
}
#endif
#if defined(ANDROID)
#if defined(__ANDROID__)
#include <android/log.h>
#endif