summaryrefslogtreecommitdiff
path: root/Zend/acconfig.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-20 06:09:07 +0000
committerSascha Schumann <sas@php.net>2000-08-20 06:09:07 +0000
commit6aada077a056fd1379a45bfbfe1678c5e7ca2035 (patch)
treec101990fd5601275c1564acdc044c22f3c222fa7 /Zend/acconfig.h
parent4ba16a1169991f9442f3c791e20bf98eb16b7fd9 (diff)
downloadphp-git-6aada077a056fd1379a45bfbfe1678c5e7ca2035.tar.gz
Including math.h before using macros defined there will work better :)
Diffstat (limited to 'Zend/acconfig.h')
-rw-r--r--Zend/acconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/acconfig.h b/Zend/acconfig.h
index 0d6d84b54e..2686ae8af8 100644
--- a/Zend/acconfig.h
+++ b/Zend/acconfig.h
@@ -35,6 +35,8 @@ int zend_sprintf(char *buffer, const char *format, ...);
# define zend_sprintf sprintf
#endif
+#include <math.h>
+
#ifdef HAVE_ISNAN
#define zend_isnan(a) isnan(a)
#elif defined(NAN)
@@ -52,8 +54,6 @@ int zend_sprintf(char *buffer, const char *format, ...);
#define zend_isinf(a) 0
#endif
-#include <math.h>
-
#ifdef HAVE_FINITE
#define zend_finite(a) finite(a)
#elif defined(HAVE_ISFINITE)