diff options
author | Dimitris Zenios <dimitris.zenios@gmail.com> | 2014-05-05 22:21:26 +0300 |
---|---|---|
committer | Dimitris Zenios <dimitris.zenios@gmail.com> | 2014-05-05 22:21:26 +0300 |
commit | fb08d9c8dfd5c17f37ce93604024856661050d96 (patch) | |
tree | 26539bf8a673e918a0e9ba434b260f05a820491c /include/SDL_egl.h | |
parent | 024a5290fad6a8dd628e3ea454f4a6d3675297c3 (diff) | |
download | sdl-fb08d9c8dfd5c17f37ce93604024856661050d96.tar.gz |
__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.
Diffstat (limited to 'include/SDL_egl.h')
-rw-r--r-- | include/SDL_egl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_egl.h b/include/SDL_egl.h index a345818ae..036e73a9f 100644 --- a/include/SDL_egl.h +++ b/include/SDL_egl.h @@ -420,7 +420,7 @@ typedef struct gbm_device *EGLNativeDisplayType; typedef struct gbm_bo *EGLNativePixmapType; typedef void *EGLNativeWindowType; -#elif defined(ANDROID) /* Android */ +#elif defined(__ANDROID__) /* Android */ struct ANativeWindow; struct egl_native_pixmap_t; |