]> git.mxchange.org Git - simgear.git/commitdiff
MSVC fix.
authorehofman <ehofman>
Thu, 27 Oct 2005 08:21:00 +0000 (08:21 +0000)
committerehofman <ehofman>
Thu, 27 Oct 2005 08:21:00 +0000 (08:21 +0000)
simgear/constants.h

index b77a7965f00b442ffb27ed19f2a154c4a5b23772..e3bd3c1e1317c922b0f964415a3102319644b14f 100644 (file)
@@ -32,6 +32,9 @@
 
 #include <simgear/compiler.h>
 
+#ifdef _MSC_VER
+#  define  _USE_MATH_DEFINES
+#endif
 #ifdef SG_HAVE_STD_INCLUDES
 #  include <cmath>
 #else