added game functionality to use time score for 1 or 10 seconds left
[rocksndiamonds.git] / src / libgame / platform.h
index 8b13dc97080e29b993c461447e432a8440e55b6e..438e8de1c9a2a3029800038a7110b2e2e1bbbef9 100644 (file)
@@ -4,7 +4,7 @@
 // (c) 1995-2014 by Artsoft Entertainment
 //                         Holger Schemel
 //                 info@artsoft.org
-//                 http://www.artsoft.org/
+//                 https://www.artsoft.org/
 // ----------------------------------------------------------------------------
 // platform.h
 // ============================================================================
 #define PLATFORM_STRING "Android"
 #endif
 
+#if defined(__EMSCRIPTEN__)
+#define PLATFORM_EMSCRIPTEN
+#undef  PLATFORM_STRING
+#define PLATFORM_STRING "Emscripten"
+#endif
+
+
+// ============================================================================
+// define additional platform keywords for CPU architecture
+// ============================================================================
+
+#if defined(__x86_64__) || defined(__LP64__) || defined(_LP64)
+#define PLATFORM_64_BIT
+#define PLATFORM_XX_BIT_STRING "64-bit"
+#else
+#define PLATFORM_32_BIT
+#define PLATFORM_XX_BIT_STRING "32-bit"
+#endif
+
 
 // ============================================================================
 // define additional target keywords