diff options
author | fenner <fenner@FreeBSD.org> | 2002-04-09 14:10:54 +0800 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2002-04-09 14:10:54 +0800 |
commit | 14315f82da28ccb828fb8807d3f0c92ee67a81d7 (patch) | |
tree | 56b4fce2f632e5fececada8c0363f7b2361e24ee /net/lambdamoo | |
parent | 958a4dade255cac7d7702277235f35e5009d1aca (diff) | |
download | freebsd-ports-gnome-14315f82da28ccb828fb8807d3f0c92ee67a81d7.tar.gz freebsd-ports-gnome-14315f82da28ccb828fb8807d3f0c92ee67a81d7.tar.zst freebsd-ports-gnome-14315f82da28ccb828fb8807d3f0c92ee67a81d7.zip |
Don't redefine INT32_MAX
Diffstat (limited to 'net/lambdamoo')
-rw-r--r-- | net/lambdamoo/files/patch-aa | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/lambdamoo/files/patch-aa b/net/lambdamoo/files/patch-aa index d9522357c30d..5ee90ab4fb9a 100644 --- a/net/lambdamoo/files/patch-aa +++ b/net/lambdamoo/files/patch-aa @@ -9,3 +9,20 @@ #undef HAVE_MATHERR #undef HAVE_MKFIFO #undef HAVE_REMOVE +@@ -257,12 +257,16 @@ + #if INT_MAX == 2147483647 + typedef int int32; + typedef unsigned unsigned32; ++# ifndef INT32_MAX + # define INT32_MAX INT_MAX ++# endif + #else + # if LONG_MAX == 2147483647 + typedef long int int32; + typedef unsigned long unsigned32; ++# ifndef INT32_MAX + # define INT32_MAX LONG_MAX ++# endif + # else + # error I cannot figure out how to express a 32-bit integer on your machine. + # endif |