summaryrefslogtreecommitdiff
path: root/main/win95nt.h
diff options
context:
space:
mode:
authorSebastian Bergmann <sbergmann@php.net>2001-05-17 09:55:03 +0000
committerSebastian Bergmann <sbergmann@php.net>2001-05-17 09:55:03 +0000
commit6b206a66a47334f369dcef481bc5eecc76681287 (patch)
tree490558c19544cea1c3ebcb3d17b0f12def5163d0 /main/win95nt.h
parentcc60d7a165148c4d4b57348bb4879c49f53e9d28 (diff)
downloadphp-git-6b206a66a47334f369dcef481bc5eecc76681287.tar.gz
MS VisualStudio .NET 7.0 has M_PI_4 in math.h
Diffstat (limited to 'main/win95nt.h')
-rw-r--r--main/win95nt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/win95nt.h b/main/win95nt.h
index d06e986930..bc0e83b4b7 100644
--- a/main/win95nt.h
+++ b/main/win95nt.h
@@ -39,7 +39,9 @@ typedef long pid_t;
#define M_PI 3.14159265358979323846
#define M_TWOPI (M_PI * 2.0)
#define M_PI_2 1.57079632679489661923
+#ifndef M_PI_4
#define M_PI_4 0.78539816339744830962
+#endif
#if !PHP_DEBUG
#ifdef inline