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