diff --git a/src/Navaids/NavDataCache.cxx b/src/Navaids/NavDataCache.cxx index 5928ddaa6..dc8cae0cb 100644 --- a/src/Navaids/NavDataCache.cxx +++ b/src/Navaids/NavDataCache.cxx @@ -40,6 +40,7 @@ #include "sqlite3.h" // SimGear +#include #include #include #include @@ -1254,11 +1255,15 @@ void NavDataCache::doRebuild() stampCacheFile(d->navDatPath); SG_LOG(SG_NAVCACHE, SG_INFO, "nav.dat load took:" << st.elapsedMSec()); +#ifdef SG_WINDOWS + SG_LOG(SG_NAVCACHE, SG_ALERT, "SKIPPING POI load on Windows"); +#else st.stamp(); poiDBInit(d->poiDatPath); stampCacheFile(d->poiDatPath); SG_LOG(SG_NAVCACHE, SG_INFO, "poi.dat load took:" << st.elapsedMSec()); - +#endif + loadCarrierNav(d->carrierDatPath); stampCacheFile(d->carrierDatPath);