summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2006-08-27 19:14:43 +0000
committerHannes Magnusson <bjori@php.net>2006-08-27 19:14:43 +0000
commit2d3056e94f890b4fdd69fc917e1ec4caa82914c9 (patch)
tree3da1e990d4ec99f5fa30adc616099d29a15f31cc /ext/standard/math.c
parent78d7b0bf0ef80100caa1e86e6c2f4c8227d6ea8c (diff)
downloadphp-git-2d3056e94f890b4fdd69fc917e1ec4caa82914c9.tar.gz
MFH:
- Fixed bug #33895 (missing math constants). - Remove M_PI from math.c (its defined in php_math.h)
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 0cea73ac79..c9fcee48fb 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -29,10 +29,6 @@
#include <float.h>
#include <stdlib.h>
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-
#ifndef PHP_ROUND_FUZZ
# ifndef PHP_WIN32
# define PHP_ROUND_FUZZ 0.50000000001