]> git.mxchange.org Git - flightgear.git/blobdiff - src/WeatherCM/sphrintp.h
Moved JSBSim.hxx to src/FDM/JSBSim/
[flightgear.git] / src / WeatherCM / sphrintp.h
index d0987e2308ccce11adf0b33b102decd258bc3199..e5debcab7995837d6d153f30318552dbfa4e409d 100644 (file)
@@ -51,12 +51,19 @@ public:
     int Evaluate (const double x, const double y, const double z, T& f) const;
     int Evaluate (const double thetaAngle, const double phiAngle, T& f) const;
 
+#ifndef macintosh
+    // CodeWarrior doesn't know the differece between sgVec2 and
+    // sgVec3, so I commented this out for Mac builds. This change is
+    // related to a similar change in FGLocalWeatherDatabase module.
+     
     T Evaluate(const sgVec2& p) const
     {
        T retval;
        Evaluate(p[1], p[0], retval);
        return retval;
     }
+#endif
+
  
     T Evaluate(const sgVec3& p) const
     {