diff options
-rw-r--r-- | Zend/zend_strtod.c | 2 | ||||
-rw-r--r-- | Zend/zend_strtod_int.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index 50cdba85de..3aa99f8d98 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 4b4cfa3904..d71bb5fcf9 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 |