//#include <simgear/misc/sgstream.hxx>
#include <simgear/misc/sg_path.hxx>
-//#ifndef FG_OLD_WEATHER
+//#ifndef FG_NEW_ENVIRONMENT
//sorry, that works only with the new weather system
#include <WeatherCM/FGLocalWeatherDatabase.h>
//#else
-//# include <Weather/weather.hxx>
+//# include <Environment/environment.hxx>
//#endif
#include <Main/fg_props.hxx>
string FGATIS::get_transmission() {
//void FGATIS::get_transmission() {
+#if !defined(FG_NEW_ENVIRONMENT)
string transmission = "";
double visibility;
// }
return(transmission);
+#else
+ return "Station unavailable (not supported by FG_NEW_ENVIRONMENT)";
+#endif // FG_NEW_ENVIRONMENT
}