diff options
author | jim winstead <jimw@php.net> | 2002-01-05 08:29:53 +0000 |
---|---|---|
committer | jim winstead <jimw@php.net> | 2002-01-05 08:29:53 +0000 |
commit | 62395159a92748d6ac96377f9e472b6bcb8363eb (patch) | |
tree | c5ddab3ebc44972533832b1242e896dcfd6d78bf /ext/standard/math.c | |
parent | 87ad1fdb3b6728c2e24bccc1d164bd74234fa927 (diff) | |
download | php-git-62395159a92748d6ac96377f9e472b6bcb8363eb.tar.gz |
Fix the Win32 compile.
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r-- | ext/standard/math.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |