mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed: removed possible integer over-/underflows
This commit is contained in:
parent
e0e157e6de
commit
6d98fc38b5
2 changed files with 31 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue