include/SDL_platform.h
changeset 4695 b7918263da92
parent 3697 f7b03b6838cb
child 4696 3a3e8fb1b6f4
     1.1 --- a/include/SDL_platform.h	Sun May 09 19:55:28 2010 -0700
     1.2 +++ b/include/SDL_platform.h	Mon May 17 15:14:34 2010 +1200
     1.3 @@ -65,6 +65,13 @@
     1.4  #undef __LINUX__
     1.5  #define __LINUX__	1
     1.6  #endif
     1.7 +#if defined(ANDROID)
     1.8 +#undef __ANDROID__
     1.9 +#undef __LINUX__ //do we need to do this?
    1.10 +#define __ANDROID__ 1
    1.11 +#endif
    1.12 +
    1.13 +
    1.14  
    1.15  #if defined(__APPLE__)
    1.16  /* lets us know what version of Mac OS X we're compiling on */