diff options
author | Anatol Belski <ab@php.net> | 2014-08-28 18:54:54 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-28 18:58:24 +0200 |
commit | d6930c9a879057b4f5e4321c27c7e898a1971249 (patch) | |
tree | 3cfb1deb3154a90cdb257ccbbc880404bd235b8e /Zend/zend_long.h | |
parent | c8ff3421a0531a596e7761d50062c3e270c11535 (diff) | |
download | php-git-d6930c9a879057b4f5e4321c27c7e898a1971249.tar.gz |
replace llabs with imaxabs
both are gcc built-in but imaxabs doesn't require C99 compat (see man)
Diffstat (limited to 'Zend/zend_long.h')
-rw-r--r-- | Zend/zend_long.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_long.h b/Zend/zend_long.h index b30759a732..ac270c719b 100644 --- a/Zend/zend_long.h +++ b/Zend/zend_long.h @@ -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)) |