From 9ee68e8f8d2290ec4a5c921d4758e91dce84cdce Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sun, 2 Feb 2014 20:55:42 +0100 Subject: [PATCH] Added additional platform check for __ANDROID__. The macro ANDROID was deprecated with "android-ndk-1.6_r1". --- include/SDL_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_platform.h b/include/SDL_platform.h index 5856e168e..afe338913 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