* commit 'f7b070255f964af5eef0e2562d892058786df2db': ndk: Use __ANDROID__ instead of ANDROID.
This commit is contained in:
committed by
Android Git Automerger
commit
fd94292af2
@@ -24,7 +24,7 @@
|
||||
#define GL_API KHRONOS_APICALL
|
||||
#endif
|
||||
|
||||
#if defined(ANDROID)
|
||||
#if defined(__ANDROID__)
|
||||
|
||||
#define GL_APIENTRY KHRONOS_APIENTRY
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
# define KHRONOS_APICALL __declspec(dllimport)
|
||||
#elif defined (__SYMBIAN32__)
|
||||
# define KHRONOS_APICALL IMPORT_C
|
||||
#elif defined(ANDROID)
|
||||
#elif defined(__ANDROID__)
|
||||
# define KHRONOS_APICALL __attribute__((visibility("default")))
|
||||
#else
|
||||
# define KHRONOS_APICALL
|
||||
|
||||
@@ -78,7 +78,7 @@ typedef int EGLNativeDisplayType;
|
||||
typedef void *EGLNativeWindowType;
|
||||
typedef void *EGLNativePixmapType;
|
||||
|
||||
#elif defined(__unix__) && !defined(ANDROID)
|
||||
#elif defined(__unix__) && !defined(__ANDROID__)
|
||||
|
||||
/* X11 (tentative) */
|
||||
#include <X11/Xlib.h>
|
||||
@@ -89,7 +89,7 @@ typedef Pixmap EGLNativePixmapType;
|
||||
typedef Window EGLNativeWindowType;
|
||||
|
||||
|
||||
#elif defined(ANDROID)
|
||||
#elif defined(__ANDROID__)
|
||||
|
||||
#include <android/native_window.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user