From 62395159a92748d6ac96377f9e472b6bcb8363eb Mon Sep 17 00:00:00 2001 From: jim winstead Date: Sat, 5 Jan 2002 08:29:53 +0000 Subject: [PATCH] Fix the Win32 compile. --- ext/standard/math.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/standard/math.c b/ext/standard/math.c index 3ef96ca9de..e7d6308056 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -31,6 +31,12 @@ #define M_PI 3.14159265358979323846 #endif +#ifdef PHP_WIN32 +# define finite(x) _finite(x) +# define isnan(x) _isnan(x) +# define isinf(x) _isnan(x) +#endif + /* {{{ proto int abs(int number) Return the absolute value of the number */ -- 2.50.1