From d6930c9a879057b4f5e4321c27c7e898a1971249 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 28 Aug 2014 18:54:54 +0200 Subject: [PATCH] replace llabs with imaxabs both are gcc built-in but imaxabs doesn't require C99 compat (see man) --- Zend/zend_long.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.50.1