# HG changeset patch # User Paul Hunkin # Date 1274066074 -43200 # Node ID b7918263da92eedf91c88649c7fd3d0edb31e948 # Parent fa77a6429698b69af27ebb2d004640c046e8debf Initial commit, adding __ANDROID__ to the platform list diff -r fa77a6429698 -r b7918263da92 include/SDL_platform.h --- a/include/SDL_platform.h Sun May 09 19:55:28 2010 -0700 +++ b/include/SDL_platform.h Mon May 17 15:14:34 2010 +1200 @@ -65,6 +65,13 @@ #undef __LINUX__ #define __LINUX__ 1 #endif +#if defined(ANDROID) +#undef __ANDROID__ +#undef __LINUX__ //do we need to do this? +#define __ANDROID__ 1 +#endif + + #if defined(__APPLE__) /* lets us know what version of Mac OS X we're compiling on */