From: Sascha Schumann Date: Wed, 14 Jun 2000 19:55:32 +0000 (+0000) Subject: Move some stuff to zend_operators.h which is required by the X-Git-Tag: php-4.0.1RC~188 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7565347ba00689fe2429623b595ff6ffa9589e93;p=php Move some stuff to zend_operators.h which is required by the moved inline functions. --- diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index b21496305a..6b51218827 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -32,16 +32,6 @@ #include "zend_list.h" #include "zend_fast_cache.h" -#ifndef HAVE_FINITE -#ifndef finite /* in case it's already a macro */ -#define finite(a) isfinite(a) /* HPUX 11 only has isfinite() */ -#endif -#else -#if HAVE_IEEEFP_H -#include -#endif -#endif - #if WITH_BCMATH #include "ext/bcmath/number.h" #endif diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 20369c7fd5..404209660c 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -22,6 +22,21 @@ #define _OPERATORS_H #include +#include + +#ifndef HAVE_FINITE +#ifndef finite /* in case it's already a macro */ +#define finite(a) isfinite(a) /* HPUX 11 only has isfinite() */ +#endif +#else +#if HAVE_IEEEFP_H +#include +#endif +#endif + +#if WITH_BCMATH +#include "ext/bcmath/number.h" +#endif #define MAX_LENGTH_OF_LONG 18 #define MAX_LENGTH_OF_DOUBLE 32