From: Zeev Suraski Date: Sat, 28 Apr 2001 20:13:25 +0000 (+0000) Subject: Fix bug 5661 X-Git-Tag: php-4.0.6RC1~278 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b87bac782fb9d104a05d8dd44a7322c353bbd5c5;p=php Fix bug 5661 --- diff --git a/Zend/zend.h b/Zend/zend.h index 4c94666202..86f1aa36c3 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -140,6 +140,14 @@ typedef unsigned int zend_uint; typedef unsigned long zend_ulong; typedef unsigned short zend_ushort; +#ifndef LONG_MAX +#define LONG_MAX 2147483647L +#endif + +#ifndef LONG_MIN +#define LONG_MIN (- LONG_MAX - 1) +#endif + #undef SUCCESS #undef FAILURE #define SUCCESS 0