Mercurial > hg > openttd
changeset 8823:3dd7b7a0bccb draft
(svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Fri, 04 Apr 2008 19:10:45 +0000 |
parents | f6db624f80e0 |
children | f7bac453f496 |
files | src/stdafx.h |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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>