Skip to content

Commit

Permalink
Fix the Win32 compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwins committed Jan 5, 2002
1 parent 87ad1fd commit 6239515
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ext/standard/math.c
Expand Up @@ -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 */

Expand Down

0 comments on commit 6239515

Please sign in to comment.