(svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN.
authorrubidium
Fri, 04 Apr 2008 19:10:45 +0000
changeset 9319 cc5eb4f7ef4c
parent 9318 4db5b6462073
child 9320 029fe51fff1e
(svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN.
src/stdafx.h
--- a/src/stdafx.h	Fri Apr 04 18:55:24 2008 +0000
+++ b/src/stdafx.h	Fri Apr 04 19:10:45 2008 +0000
@@ -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>