summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-03-17 20:21:28 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-03-17 20:21:28 +0100
commitea36cf2b89dc7c0ffedc56dfeff865ed14273063 (patch)
tree689d05c8224b7edd33c96998a12942be48a786fe /configure.ac
parentbf9ddc7c135b1235b5af9c748db40cbd2b91cb97 (diff)
parentf2c35fdda809ef1e4d0151e2564422ec3be319a0 (diff)
downloadphp-git-ea36cf2b89dc7c0ffedc56dfeff865ed14273063.tar.gz
Merge branch 'PHP-7.1'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 593585629e..5c0b50895f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,7 +68,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
#include <math.h>
#ifndef zend_isnan
-#ifdef HAVE_DECL_ISNAN
+#if HAVE_DECL_ISNAN
#define zend_isnan(a) isnan(a)
#elif defined(HAVE_FPCLASS)
#define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
@@ -77,7 +77,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
#endif
#endif
-#ifdef HAVE_DECL_ISINF
+#if HAVE_DECL_ISINF
#define zend_isinf(a) isinf(a)
#elif defined(INFINITY)
/* Might not work, but is required by ISO C99 */
@@ -88,7 +88,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
#define zend_isinf(a) 0
#endif
-#if defined(HAVE_DECL_ISFINITE)
+#if HAVE_DECL_ISFINITE
#define zend_finite(a) isfinite(a)
#elif defined(HAVE_FINITE)
#define zend_finite(a) finite(a)