aboutsummaryrefslogtreecommitdiff
path: root/src/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform.h')
-rw-r--r--src/platform.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/platform.h b/src/platform.h
index b10f0ad..5a740e5 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -1,22 +1,22 @@
1#pragma once 1#pragma once
2 2
3#ifdef _WIN32_WCE 3#ifdef _WIN32_WCE
4 #define PLATFORM_POCKETPC 4#define PLATFORM_POCKETPC
5#elif defined(_XBOX) 5#elif defined(_XBOX)
6 #define PLATFORM_XBOX 6#define PLATFORM_XBOX
7#elif (defined _WIN32) 7#elif (defined _WIN32)
8 #define PLATFORM_WIN32 8#define PLATFORM_WIN32
9 #define NOMINMAX 9#define NOMINMAX
10#elif (defined __linux__) 10#elif (defined __linux__)
11 #define PLATFORM_LINUX 11#define PLATFORM_LINUX
12#elif (defined __APPLE__) && (defined __MACH__) 12#elif (defined __APPLE__) && (defined __MACH__)
13 #define PLATFORM_OSX 13#define PLATFORM_OSX
14#elif (defined __NetBSD__) || (defined __FreeBSD__) || (defined BSD) 14#elif (defined __NetBSD__) || (defined __FreeBSD__) || (defined BSD)
15 #define PLATFORM_BSD 15#define PLATFORM_BSD
16#elif (defined __QNX__) 16#elif (defined __QNX__)
17 #define PLATFORM_QNX 17#define PLATFORM_QNX
18#elif (defined __CYGWIN__) 18#elif (defined __CYGWIN__)
19 #define PLATFORM_CYGWIN 19#define PLATFORM_CYGWIN
20#else 20#else
21 #error "Unknown platform!" 21#error "Unknown platform!"
22#endif 22#endif