]> git.mxchange.org Git - simgear.git/commitdiff
MSVC fixes
authorehofman <ehofman>
Sat, 28 Jun 2003 21:43:41 +0000 (21:43 +0000)
committerehofman <ehofman>
Sat, 28 Jun 2003 21:43:41 +0000 (21:43 +0000)
simgear/math/fastmath.cxx
simgear/math/fastmath.hxx

index c95ccbcc6fea4a760844a23799eaa3164ec7be87..19968109b5532e0be7aa6aecea759ecbd25688a4 100644 (file)
@@ -20,7 +20,7 @@
 
 
 
-#include <fastmath.hxx>
+#include "fastmath.hxx"
 
 /**
  * This function is on avarage 9 times faster than the system exp() function
index 7ce8f461c6a4a51056bc98f1c0703a728e9e4757..6ebecd3f2a4f2a3537b461dee67db470c0f6e033 100644 (file)
@@ -25,7 +25,9 @@
 # error This library requires C++
 #endif
 
-
+#ifdef _MSC_VER
+#define  _USE_MATH_DEFINES
+#endif
 #include <math.h>