projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor code cleanup
[rocksndiamonds.git]
/
src
/
libgame
/
platform.h
diff --git
a/src/libgame/platform.h
b/src/libgame/platform.h
index ee7bff30dcc1933d361f14d05fc2d40269ca1e96..b9c8a411090f80b5a91a3776d3732d9f2dfe8082 100644
(file)
--- a/
src/libgame/platform.h
+++ b/
src/libgame/platform.h
@@
-16,8
+16,8
@@
// define main platform keywords
// ============================================================================
// define main platform keywords
// ============================================================================
-#if defined(WIN32) || defined(_WIN32)
-#define PLATFORM_WIN
32
+#if defined(WIN32) || defined(_WIN32)
|| defined(_WIN64)
+#define PLATFORM_WIN
DOWS
#define PLATFORM_STRING "Windows"
#else
#define PLATFORM_UNIX
#define PLATFORM_STRING "Windows"
#else
#define PLATFORM_UNIX
@@
-86,7
+86,7
@@
#endif
#if defined(__APPLE__) && defined(__MACH__)
#endif
#if defined(__APPLE__) && defined(__MACH__)
-#define PLATFORM_MAC
OSX
+#define PLATFORM_MAC
#undef PLATFORM_STRING
#define PLATFORM_STRING "Mac"
#endif
#undef PLATFORM_STRING
#define PLATFORM_STRING "Mac"
#endif