diff options
author | Zeev Suraski <zeev@php.net> | 2001-04-28 20:13:25 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-04-28 20:13:25 +0000 |
commit | b87bac782fb9d104a05d8dd44a7322c353bbd5c5 (patch) | |
tree | a121fec1d2ad1d52b5fa8a6a7b9834a098e23ad3 /Zend | |
parent | 8ac4ce6a4372121af3fab9bdcdb66f39540b8021 (diff) | |
download | php-git-b87bac782fb9d104a05d8dd44a7322c353bbd5c5.tar.gz |
Fix bug 5661
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |