projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bbfb7e5
)
- compile fix for msvc 6 which doesn't declare M_PI at all it seems.
author
Andrea Weikert <elubie@gmx.net>
Sun, 12 Nov 2006 17:23:26 +0000
(17:23 +0000)
committer
Andrea Weikert <elubie@gmx.net>
Sun, 12 Nov 2006 17:23:26 +0000
(17:23 +0000)
intern/ghost/intern/GHOST_WindowWin32.cpp
patch
|
blob
|
history
diff --git
a/intern/ghost/intern/GHOST_WindowWin32.cpp
b/intern/ghost/intern/GHOST_WindowWin32.cpp
index 8e0858b118390bad48824963f4b3f36deb1eb9d3..ac17338d66a96d10f9b827670679523aabb6f1d6 100644
(file)
--- a/
intern/ghost/intern/GHOST_WindowWin32.cpp
+++ b/
intern/ghost/intern/GHOST_WindowWin32.cpp
@@
-46,6
+46,11
@@
#include <GL/gl.h>
#include <math.h>
+// MSVC6 still doesn't define M_PI
+#ifndef M_PI
+#define M_PI 3.1415926536
+#endif
+
LPCSTR GHOST_WindowWin32::s_windowClassName = "GHOST_WindowClass";
const int GHOST_WindowWin32::s_maxTitleLength = 128;
HGLRC GHOST_WindowWin32::s_firsthGLRc = NULL;