com php-src: Move the define into the header to reduce diff for future upgrade: Zend/zend_strtod.c Zend/zend_strtod_int.h

From: Date: Fri, 21 Jul 2017 07:12:06 +0000
Subject: com php-src: Move the define into the header to reduce diff for future upgrade: Zend/zend_strtod.c Zend/zend_strtod_int.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98682@lists.php.net to get a copy of this message
Commit: 9b3c26d4f46e7bc1c58e724d486e8ae4386c3202 Author: Anatol Belski <ab@php.net> Fri, 21 Jul 2017 09:12:06 +0200 Parents: 95d2908814585bd9c3c9a1eab4989bc551b6cc73 Branches: PHP-7.0 PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9b3c26d4f46e7bc1c58e724d486e8ae4386c3202 Log: Move the define into the header to reduce diff for future upgrade Changed paths: M Zend/zend_strtod.c M Zend/zend_strtod_int.h Diff: diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index 9e4ff73..d15048b 100644 --- a/Zend/zend_strtod.c +++ b/Zend/zend_strtod.c @@ -206,8 +206,6 @@ static void Bug(const char *message) { #include "stdlib.h" #include "string.h" -#define NO_ERRNO - #ifdef USE_LOCALE #include "locale.h" #endif diff --git a/Zend/zend_strtod_int.h b/Zend/zend_strtod_int.h index 4b4cfa3..d71bb5f 100644 --- a/Zend/zend_strtod_int.h +++ b/Zend/zend_strtod_int.h @@ -72,6 +72,10 @@ typedef unsigned long int uint32_t; #define NO_INFNAN_CHECK #endif +#ifndef NO_ERRNO +#define NO_ERRNO +#endif + #ifdef WORDS_BIGENDIAN #define IEEE_BIG_ENDIAN 1 #else

« previous php.cvs (#98682) next »