]> granicus.if.org Git - php/commitdiff
MS VisualStudio .NET 7.0 has M_PI_4 in math.h
authorSebastian Bergmann <sbergmann@php.net>
Thu, 17 May 2001 09:55:03 +0000 (09:55 +0000)
committerSebastian Bergmann <sbergmann@php.net>
Thu, 17 May 2001 09:55:03 +0000 (09:55 +0000)
main/win95nt.h

index d06e986930fb6689bb46c16248273d3e2b34343d..bc0e83b4b7e66fc6efceb2041321644a89680f32 100644 (file)
@@ -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