summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2017-02-05 01:34:15 +0000
committerAndrea Faulds <ajf@ajf.me>2017-02-05 01:34:15 +0000
commit07d1cd3bc3d12acf64b035d643858d2cf8c97bd1 (patch)
treea897cfa6078fe29e6cae07a423eaf807cd2c423b /configure.ac
parent2edc3cf8d2dd75501bf1049cf1b3ca57f11f1234 (diff)
parentb87e399393816d966703fded907f8fc8f9afa5c1 (diff)
downloadphp-git-07d1cd3bc3d12acf64b035d643858d2cf8c97bd1.tar.gz
Merge branch 'PHP-7.1'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dc7bff46ee..5584a4f43a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ int zend_sprintf(char *buffer, const char *format, ...);
#elif defined(HAVE_FPCLASS)
#define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
#else
-#define zend_isnan(a) 0
+#define zend_isnan(a) ((a) != (a))
#endif
#endif