Commit 9ee68e8f8d2290ec4a5c921d4758e91dce84cdce

Philipp Wiesemann 2014-02-02T20:55:42

Added additional platform check for __ANDROID__. The macro ANDROID was deprecated with "android-ndk-1.6_r1".

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_platform.h b/include/SDL_platform.h
index 5856e16..afe3389 100644
--- a/include/SDL_platform.h
+++ b/include/SDL_platform.h
@@ -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