com php-src: replace llabs with imaxabs: Zend/zend_long.h

From: Date: Thu, 28 Aug 2014 16:58:24 +0000
Subject: com php-src: replace llabs with imaxabs: Zend/zend_long.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81272@lists.php.net to get a copy of this message
Commit: d6930c9a879057b4f5e4321c27c7e898a1971249 Author: Anatol Belski <ab@php.net> Thu, 28 Aug 2014 18:54:54 +0200 Parents: c8ff3421a0531a596e7761d50062c3e270c11535 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d6930c9a879057b4f5e4321c27c7e898a1971249 Log: replace llabs with imaxabs both are gcc built-in but imaxabs doesn't require C99 compat (see man) Changed paths: M Zend/zend_long.h Diff: diff --git a/Zend/zend_long.h b/Zend/zend_long.h index b30759a..ac270c7 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))

« previous php.cvs (#81272) next »