changeset 4695:b7918263da92

Initial commit, adding __ANDROID__ to the platform list
author Paul Hunkin <paul@bieh.net>
date Mon, 17 May 2010 15:14:34 +1200
parents fa77a6429698
children 3a3e8fb1b6f4
files include/SDL_platform.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */