From: jim winstead Date: Sat, 5 Jan 2002 08:29:53 +0000 (+0000) Subject: Fix the Win32 compile. X-Git-Tag: PRE_ISSET_PATCH~284 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62395159a92748d6ac96377f9e472b6bcb8363eb;p=php Fix the Win32 compile. --- 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 */