diff options
-rw-r--r-- | src/stdafx.h | 6 |
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> |