summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-04-19 15:55:52 +0000
committerAndrei Zmievski <andrei@php.net>2000-04-19 15:55:52 +0000
commitfe1147b01a85662e88747492e1fc5bfde3fd31dc (patch)
tree4452cfd7bd5d8da71f9530d7645a7a8d2036b893 /Zend
parent284b0ae24e12101c81306a7b256732aba35ac403 (diff)
downloadphp-git-fe1147b01a85662e88747492e1fc5bfde3fd31dc.tar.gz
Include proper files for finite.
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_operators.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index bcfe30c6f8..abca0a98a3 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -32,10 +32,12 @@
#include "zend_list.h"
#include "zend_fast_cache.h"
-#ifndef HAVE_FINITE
+#if !HAVE_FINITE
#ifndef finite /* in case it's already a macro */
#define finite(a) isfinite(a) /* HPUX 11 only has isfinite() */
#endif
+#else
+#include <ieeefp.h>
#endif
#if WITH_BCMATH