X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGLocalWeatherDatabase.h;h=7155854ae70dcad9193ea2604a657c55b337cb9e;hb=8f3aa1bebd7c60b1ad328d10beae841daab4e292;hp=cf252da21e079e3115bbb1088e22d5914196cfeb;hpb=095c069b3966c251b8554d8c2b76d74ff30f9621;p=flightgear.git diff --git a/src/WeatherCM/FGLocalWeatherDatabase.h b/src/WeatherCM/FGLocalWeatherDatabase.h index cf252da21..7155854ae 100644 --- a/src/WeatherCM/FGLocalWeatherDatabase.h +++ b/src/WeatherCM/FGLocalWeatherDatabase.h @@ -57,7 +57,7 @@ HISTORY #include -#include +#include "sphrintp.h" #include "FGPhysicalProperties.h" #include "FGPhysicalProperty.h" @@ -158,7 +158,15 @@ public: /************************************************************************/ /* Get the physical properties on the specified point p */ /************************************************************************/ +#ifdef MACOS + /* fix a problem with mw compilers in that they don't know the + difference between the next two methods. Since the first one + doesn't seem to be used anywhere, I commented it out. This is + supposed to be fixed in the forthcoming CodeWarrior Release + 6. */ +#else FGPhysicalProperties get(const sgVec2& p) const; +#endif FGPhysicalProperty get(const sgVec3& p) const; WeatherPrecision getAirDensity(const sgVec3& p) const;