am cc5809bf: Merge "ndk: Use __ANDROID__ instead of ANDROID." into gingerbread

* commit 'cc5809bf2fdae2ea7b5d84b21875cd2220c66105':
  ndk: Use __ANDROID__ instead of ANDROID.
This commit is contained in:
David 'Digit' Turner
2010-11-04 04:08:23 -07:00
committed by Android Git Automerger
3 changed files with 13 additions and 13 deletions

View File

@@ -24,7 +24,7 @@
#define GL_API KHRONOS_APICALL
#endif
#if defined(ANDROID)
#if defined(__ANDROID__)
#define GL_APIENTRY KHRONOS_APIENTRY

View File

@@ -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

View File

@@ -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>