Fixed: removed possible integer over-/underflows

This commit is contained in:
Stefan Esser 2004-11-28 12:44:28 +00:00
parent e0e157e6de
commit 6d98fc38b5
2 changed files with 31 additions and 7 deletions

View file

@ -222,6 +222,14 @@ char *strerror(int);
#define LONG_MIN (- LONG_MAX - 1)
#endif
#ifndef INT_MAX
#define INT_MAX 2147483647
#endif
#ifndef INT_MIN
#define INT_MIN (- INT_MAX - 1)
#endif
#define PHP_GCC_VERSION ZEND_GCC_VERSION
#define PHP_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_MALLOC
#define PHP_ATTRIBUTE_FORMAT ZEND_ATTRIBUTE_FORMAT