Added additional platform check for __ANDROID__.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 02 Feb 2014 20:55:42 +0100
changeset 8150 ebe5798f0013
parent 8149 681eb46b8ac4
child 8151 b9b66e0a8250
Added additional platform check for __ANDROID__. The macro ANDROID was deprecated with "android-ndk-1.6_r1".
include/SDL_platform.h
--- a/include/SDL_platform.h	Sun Feb 02 00:53:27 2014 -0800
+++ b/include/SDL_platform.h	Sun Feb 02 20:55:42 2014 +0100
@@ -60,7 +60,7 @@
 #undef __LINUX__
 #define __LINUX__   1
 #endif
-#if defined(ANDROID)
+#if defined(ANDROID) || defined(__ANDROID__)
 #undef __ANDROID__
 #undef __LINUX__ /* do we need to do this? */
 #define __ANDROID__ 1