# HG changeset patch # User rubidium # Date 1207336245 0 # Node ID cc5eb4f7ef4c27cd9afbfe2e001b1a1a97fa5f8a # Parent 4db5b6462073afcc9bd26bf9e7e86363c6f990ff (svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN. diff -r 4db5b6462073 -r cc5eb4f7ef4c 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 #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