Initial commit, adding __ANDROID__ to the platform list
authorPaul Hunkin <paul@bieh.net>
Mon, 17 May 2010 15:14:34 +1200
changeset 4695 b7918263da92
parent 4464 fa77a6429698
child 4696 3a3e8fb1b6f4
Initial commit, adding __ANDROID__ to the platform list
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 */