From: Sebastian Bergmann Date: Thu, 17 May 2001 09:55:03 +0000 (+0000) Subject: MS VisualStudio .NET 7.0 has M_PI_4 in math.h X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~385 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b206a66a47334f369dcef481bc5eecc76681287;p=php MS VisualStudio .NET 7.0 has M_PI_4 in math.h --- 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