]> granicus.if.org Git - php/commitdiff
Move some stuff to zend_operators.h which is required by the
authorSascha Schumann <sas@php.net>
Wed, 14 Jun 2000 19:55:32 +0000 (19:55 +0000)
committerSascha Schumann <sas@php.net>
Wed, 14 Jun 2000 19:55:32 +0000 (19:55 +0000)
moved inline functions.

Zend/zend_operators.c
Zend/zend_operators.h

index b21496305a4f2fa79d790bdd0cdf089e305fc434..6b51218827a7a7163be5622af6a1c354e709650c 100644 (file)
 #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
index 20369c7fd525a4e74d6e9bd4cb2b33a446ee0ff7..404209660c92df3d603b787a74a433206ed7634a 100644 (file)
 #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