Added additional platform check for __ANDROID__.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 02 Feb 2014 20:55:42 +0100
changeset 8150ebe5798f0013
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
     1.1 --- a/include/SDL_platform.h	Sun Feb 02 00:53:27 2014 -0800
     1.2 +++ b/include/SDL_platform.h	Sun Feb 02 20:55:42 2014 +0100
     1.3 @@ -60,7 +60,7 @@
     1.4  #undef __LINUX__
     1.5  #define __LINUX__   1
     1.6  #endif
     1.7 -#if defined(ANDROID)
     1.8 +#if defined(ANDROID) || defined(__ANDROID__)
     1.9  #undef __ANDROID__
    1.10  #undef __LINUX__ /* do we need to do this? */
    1.11  #define __ANDROID__ 1