cvs: php4 /main win95nt.h
| From: | Sebastian Bergmann | Date: | Thu, 17 May 2001 09:55:04 +0000 |
| Subject: | cvs: php4 /main win95nt.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5799@lists.php.net to get a copy of this message | ||
sbergmann Thu May 17 02:55:04 2001 EDT
Modified files:
/php4/main win95nt.h
Log:
MS VisualStudio .NET 7.0 has M_PI_4 in math.h
Index: php4/main/win95nt.h
diff -u php4/main/win95nt.h:1.10 php4/main/win95nt.h:1.11
--- php4/main/win95nt.h:1.10 Fri Apr 27 09:41:53 2001
+++ php4/main/win95nt.h Thu May 17 02:55:03 2001
@@ -39,7 +39,9 @@
#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