Rev 5037 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5037 | Rev 5038 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | #endif
|
67 | #endif
|
68 | #ifndef max
|
68 | #ifndef max
|
69 | #define max(x,y) ((x) > (y) ? (x) : (y))
|
69 | #define max(x,y) ((x) > (y) ? (x) : (y))
|
70 | #endif
|
70 | #endif
|
71 | 71 | ||
- | 72 | #if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __bsdi__ || defined __DragonFly__
|
|
- | 73 | # define EDUKE32_BSD
|
|
- | 74 | #endif
|
|
- | 75 | ||
72 | #if !defined __APPLE__ && (!defined EDUKE32_BSD || !__STDC__)
|
76 | #if !defined __APPLE__ && (!defined EDUKE32_BSD || !__STDC__)
|
73 | # include <malloc.h>
|
77 | # include <malloc.h>
|
74 | #endif
|
78 | #endif
|
75 | 79 | ||
76 | #ifdef _WIN32
|
80 | #ifdef _WIN32
|
Line 89... | Line 93... | ||
89 | # endif
|
93 | # endif
|
90 | # include <CoreServices/CoreServices.h>
|
94 | # include <CoreServices/CoreServices.h>
|
91 | # endif
|
95 | # endif
|
92 | #endif
|
96 | #endif
|
93 | 97 | ||
94 | #if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __bsdi__ || defined __DragonFly__
|
- | |
95 | # define EDUKE32_BSD
|
- | |
96 | #endif
|
- | |
97 | - | ||
98 | #if defined __ANDROID__ || defined EDUKE32_IOS
|
98 | #if defined __ANDROID__ || defined EDUKE32_IOS
|
99 | # define EDUKE32_TOUCH_DEVICES
|
99 | # define EDUKE32_TOUCH_DEVICES
|
100 | # define EDUKE32_GLES
|
100 | # define EDUKE32_GLES
|
101 | #endif
|
101 | #endif
|
102 | 102 |