From: Anatol Belski Date: Thu, 28 Aug 2014 16:54:54 +0000 (+0200) Subject: replace llabs with imaxabs X-Git-Tag: PRE_PHP7_REMOVALS~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6930c9a879057b4f5e4321c27c7e898a1971249;p=php replace llabs with imaxabs both are gcc built-in but imaxabs doesn't require C99 compat (see man) --- 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))