cvs: php4 /ext/standard math.c
| From: | jim winstead | Date: | Sat, 05 Jan 2002 08:29:53 +0000 |
| Subject: | cvs: php4 /ext/standard math.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8953@lists.php.net to get a copy of this message | ||
jimw Sat Jan 5 03:29:53 2002 EDT
Modified files:
/php4/ext/standard math.c
Log:
Fix the Win32 compile.
Index: php4/ext/standard/math.c
diff -u php4/ext/standard/math.c:1.72 php4/ext/standard/math.c:1.73
--- php4/ext/standard/math.c:1.72 Sat Jan 5 02:54:49 2002
+++ php4/ext/standard/math.c Sat Jan 5 03:29:53 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: math.c,v 1.72 2002/01/05 07:54:49 eschmid Exp $ */
+/* $Id: math.c,v 1.73 2002/01/05 08:29:53 jimw Exp $ */
#include "php.h"
#include "php_math.h"
@@ -29,6 +29,12 @@
#ifndef M_PI
#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)