rnd-20140114-1-src
[rocksndiamonds.git] / src / libgame / platform.h
index 1e6d1c0f013f66cb87e8ec4e2fa7f2bdac523795..c968255906623bc6a1cf696d96d3e877512d7357 100644 (file)
 #define PLATFORM_STRING "Windows CE"
 #endif
 
+#if defined(__ANDROID__)
+#define PLATFORM_ANDROID
+#undef  PLATFORM_STRING
+#define PLATFORM_STRING "Android"
+#endif
+
 
 /* ========================================================================= */
 /* define additional target keywords                                         */
 #define TARGET_X11_NATIVE
 #endif
 
+#if defined(TARGET_SDL2)
+#ifndef TARGET_SDL
+#define TARGET_SDL
+#endif
+#endif
+
 
 /* ========================================================================= */
 /* this should better go into "system.h" or "features.h" (yet to be created) */