X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGLocalWeatherDatabase.h;h=7155854ae70dcad9193ea2604a657c55b337cb9e;hb=8f3aa1bebd7c60b1ad328d10beae841daab4e292;hp=817ea34b7b6985469dbd3daaf6c9194969d84808;hpb=210e87ec3a91b15d0edd34d255e8a3b3c654952f;p=flightgear.git diff --git a/src/WeatherCM/FGLocalWeatherDatabase.h b/src/WeatherCM/FGLocalWeatherDatabase.h index 817ea34b7..7155854ae 100644 --- a/src/WeatherCM/FGLocalWeatherDatabase.h +++ b/src/WeatherCM/FGLocalWeatherDatabase.h @@ -55,9 +55,9 @@ HISTORY /****************************************************************************/ #include -#include +#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;