mirror of
https://github.com/php/php-src.git
synced 2025-01-19 02:03:47 +08:00
replace llabs with imaxabs
both are gcc built-in but imaxabs doesn't require C99 compat (see man)
This commit is contained in:
parent
c8ff3421a0
commit
d6930c9a87
@ -85,7 +85,7 @@ typedef int32_t zend_off_t;
|
||||
# define ZEND_STRTOUL(s0, s1, base) strtoull((s0), (s1), (base))
|
||||
# define ZEND_STRTOL_PTR strtoll
|
||||
# define ZEND_STRTOUL_PTR strtoull
|
||||
# define ZEND_ABS llabs
|
||||
# define ZEND_ABS imaxabs
|
||||
# endif
|
||||
#else
|
||||
# define ZEND_STRTOL(s0, s1, base) strtol((s0), (s1), (base))
|
||||
|
Loading…
Reference in New Issue
Block a user