diff options
| author | Sascha Schumann <sas@php.net> | 2000-06-14 19:55:32 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-06-14 19:55:32 +0000 |
| commit | 7565347ba00689fe2429623b595ff6ffa9589e93 (patch) | |
| tree | adac2e1d0067bb98477e79f8d432dacbd7ea16bb /Zend | |
| parent | 988435cf04782cc0c059dffa6cdca4c26016d8b2 (diff) | |
| download | php-git-7565347ba00689fe2429623b595ff6ffa9589e93.tar.gz | |
Move some stuff to zend_operators.h which is required by the
moved inline functions.
Diffstat (limited to 'Zend')
| -rw-r--r-- | Zend/zend_operators.c | 10 | ||||
| -rw-r--r-- | Zend/zend_operators.h | 15 |
2 files changed, 15 insertions, 10 deletions
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 <ieeefp.h> -#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 <errno.h> +#include <math.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 <ieeefp.h> +#endif +#endif + +#if WITH_BCMATH +#include "ext/bcmath/number.h" +#endif #define MAX_LENGTH_OF_LONG 18 #define MAX_LENGTH_OF_DOUBLE 32 |
