summaryrefslogtreecommitdiff
path: root/include/SDL_egl.h
diff options
context:
space:
mode:
authorDimitris Zenios <dimitris.zenios@gmail.com>2014-05-05 22:21:26 +0300
committerDimitris Zenios <dimitris.zenios@gmail.com>2014-05-05 22:21:26 +0300
commitfb08d9c8dfd5c17f37ce93604024856661050d96 (patch)
tree26539bf8a673e918a0e9ba434b260f05a820491c /include/SDL_egl.h
parent024a5290fad6a8dd628e3ea454f4a6d3675297c3 (diff)
downloadsdl-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.h2
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;