summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-03-17 20:19:40 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-03-17 20:19:40 +0100
commit2e8308260513015dbf80ff0239eca79dbca4f36e (patch)
treef6f03503046d58856fdb1664397fe29e2ccc5755 /Zend
parentdf135ffa7ab30e13fb1e4b6ece7326defaf7753c (diff)
downloadphp-git-2e8308260513015dbf80ff0239eca79dbca4f36e.tar.gz
Fix bug #74265
Diffstat (limited to 'Zend')
-rw-r--r--Zend/configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/configure.in b/Zend/configure.in
index ec339eaef5..6d4d450ea8 100644
--- a/Zend/configure.in
+++ b/Zend/configure.in
@@ -70,7 +70,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
#endif
#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))
@@ -79,7 +79,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 */
@@ -90,7 +90,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)