]> granicus.if.org Git - php/commitdiff
Remove HAVE_STRTOD and strtod check
authorPeter Kokot <peterkokot@gmail.com>
Sun, 23 Jun 2019 13:41:43 +0000 (15:41 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Wed, 26 Jun 2019 21:10:55 +0000 (23:10 +0200)
There is no need to check for the strtod function. It is part of C89
standard which PHP-7.4+ supports.

http://port70.net/~nsz/c/c89/c89-draft.html#4.10.1.4

Zend/Zend.m4

index 0c6014bc6474f91360b405d0244947c39e7a9a7b..d8594874985c8beb5763aba010e5a0f722b2bba4 100644 (file)
@@ -155,7 +155,7 @@ _LT_AC_TRY_DLOPEN_SELF([
 ])
 
 dnl Checks for library functions.
-AC_CHECK_FUNCS(getpid kill strtod finite fpclass sigsetjmp)
+AC_CHECK_FUNCS(getpid kill finite fpclass sigsetjmp)
 
 AC_CHECK_DECLS([isfinite, isnan, isinf], [], [], [[#include <math.h>]])