projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed updating tiled graphics only when needed
[rocksndiamonds.git]
/
src
/
libgame
/
platform.h
diff --git
a/src/libgame/platform.h
b/src/libgame/platform.h
index d5b15580f7c2c9841a509a071d9503124c5cf77f..ee7bff30dcc1933d361f14d05fc2d40269ca1e96 100644
(file)
--- a/
src/libgame/platform.h
+++ b/
src/libgame/platform.h
@@
-4,7
+4,7
@@
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
-// http://www.artsoft.org/
+// http
s
://www.artsoft.org/
// ----------------------------------------------------------------------------
// platform.h
// ============================================================================
// ----------------------------------------------------------------------------
// platform.h
// ============================================================================
@@
-38,7
+38,7
@@
#if defined(AMIGA) || defined(__AMIGA) || defined(__amigados__)
#define PLATFORM_AMIGA
#undef PLATFORM_STRING
#if defined(AMIGA) || defined(__AMIGA) || defined(__amigados__)
#define PLATFORM_AMIGA
#undef PLATFORM_STRING
-#define PLATFORM_STRING "Amiga
OS
"
+#define PLATFORM_STRING "Amiga"
#endif
#if defined(__BEOS__)
#endif
#if defined(__BEOS__)
@@
-88,7
+88,7
@@
#if defined(__APPLE__) && defined(__MACH__)
#define PLATFORM_MACOSX
#undef PLATFORM_STRING
#if defined(__APPLE__) && defined(__MACH__)
#define PLATFORM_MACOSX
#undef PLATFORM_STRING
-#define PLATFORM_STRING "Mac
OS X
"
+#define PLATFORM_STRING "Mac"
#endif
#if defined(__NetBSD__)
#endif
#if defined(__NetBSD__)
@@
-153,6
+153,12
@@
#define PLATFORM_STRING "Android"
#endif
#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
// ============================================================================
// define additional platform keywords for CPU architecture