]> git.mxchange.org Git - simgear.git/blobdiff - simgear/constants.h
MSVC fixes.
[simgear.git] / simgear / constants.h
index a7d575cd72f547c2bfb3f98be93dfc3f5607e85d..e3bd3c1e1317c922b0f964415a3102319644b14f 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started February 2000.
 //
-// Copyright (C) 2000  Curtis L. Olson  - curt@flightgear.org
+// Copyright (C) 2000  Curtis L. Olson - http://www.flightgear.org/~curt/
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Library General Public
@@ -32,6 +32,9 @@
 
 #include <simgear/compiler.h>
 
+#ifdef _MSC_VER
+#  define  _USE_MATH_DEFINES
+#endif
 #ifdef SG_HAVE_STD_INCLUDES
 #  include <cmath>
 #else