__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:
parent
3672aeb497
commit
548a0ee7b8
5 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue