From: ehofman Date: Sat, 28 Jun 2003 21:43:41 +0000 (+0000) Subject: MSVC fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54c2d5a6ccd3a54f22b2c0f21018a0a4d4498d20;p=simgear.git MSVC fixes --- diff --git a/simgear/math/fastmath.cxx b/simgear/math/fastmath.cxx index c95ccbcc..19968109 100644 --- a/simgear/math/fastmath.cxx +++ b/simgear/math/fastmath.cxx @@ -20,7 +20,7 @@ -#include +#include "fastmath.hxx" /** * This function is on avarage 9 times faster than the system exp() function diff --git a/simgear/math/fastmath.hxx b/simgear/math/fastmath.hxx index 7ce8f461..6ebecd3f 100644 --- a/simgear/math/fastmath.hxx +++ b/simgear/math/fastmath.hxx @@ -25,7 +25,9 @@ # error This library requires C++ #endif - +#ifdef _MSC_VER +#define _USE_MATH_DEFINES +#endif #include