android: Change preprocessor define to standard __ANDROID__

ANDROID is only standard to the old Makefile buildsystem, not the platform.
This commit is contained in:
Florent Castelli committed 2016-10-12 11:14:09 +02:00
1 parent 4f655f8f3c
commit 70593d1004
54 files changed
+119 -123

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@
#include "Common/GL/GLInterfaceBase.h"
#ifdef ANDROID
#ifdef __ANDROID__
#include "Common/GL/GLInterface/EGLAndroid.h"
#elif defined(__APPLE__)
#include "Common/GL/GLInterface/AGL.h"
@@ -21,7 +21,7 @@
#endif
cInterfaceBase* HostGL_CreateGLInterface(){
#ifdef ANDROID
#ifdef __ANDROID__
return new cInterfaceEGLAndroid;
#elif defined(__APPLE__)
return new cInterfaceAGL;