Commit 7c4faf7e036c26935b4d46f60dccd10ceff8579f

dtremenak 2008-05-08T23:10:17

M_PI and friends on MSVC are only defined if _USE_MATH_DEFINES is defined first. include it appropriately in config.h.

1
2
3
4
5
6
7
8
9
10
11
diff --git a/msvc/config.h b/msvc/config.h
index 8234ff2..95c3856 100644
--- a/msvc/config.h
+++ b/msvc/config.h
@@ -1 +1,5 @@
+// GLUT
 #define HAVE_GL_GLUT_H
+
+// M_PI and friends on VC
+#define _USE_MATH_DEFINES
\ No newline at end of file