summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-04 19:10:45 +0000
committerrubidium <rubidium@openttd.org>2008-04-04 19:10:45 +0000
commitc5814a72ced79ec7650e11919d7078094e6ab209 (patch)
tree5e604ce51f39d9b512e73236869a26ec9468af9e /src
parentd1c0e579010182fe300ef637923096de3c1b1105 (diff)
downloadopenttd-c5814a72ced79ec7650e11919d7078094e6ab209.tar.xz
(svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN.
Diffstat (limited to 'src')
-rw-r--r--src/stdafx.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 278b7556d..80b2592ad 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -32,8 +32,12 @@
#include <stdint.h>
#endif
#else
- #define INT64_MAX 9223372036854775807LL
+ #define INT64_MAX (9223372036854775807LL)
#define INT64_MIN (-INT64_MAX - 1)
+ #define INT32_MAX (2147483647)
+ #define INT32_MIN (-INT32_MAX - 1)
+ #define INT16_MAX (32767)
+ #define INT16_MIN (-INT16_MAX - 1)
#endif
#include <cstdio>