]> git.mxchange.org Git - flightgear.git/commitdiff
Cygwin fixes.
authorehofman <ehofman>
Fri, 18 Feb 2005 12:40:38 +0000 (12:40 +0000)
committerehofman <ehofman>
Fri, 18 Feb 2005 12:40:38 +0000 (12:40 +0000)
src/FDM/YASim/FGGround.cpp
src/Traffic/Schedule.cxx

index 6a82151dfe9d6ab684290a5cd99e5b4710936955..e6af48cc455fc2f9590d49fdd91ae3cfe171b809 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+  #include <config.h>
+#endif
+
 #include <FDM/flight.hxx>
 
 #include "Glue.hpp"
index b51a5db4e3f96032ee92fd072c24cbdebc789099..2bb86393e3c9c60db0308f481b574d05455bf65b 100644 (file)
@@ -444,6 +444,9 @@ void FGAISchedule::setClosestDistanceToUser()
 
   FGAirport *dep;
   
+#ifdef __CYGWIN__
+  #define HUGE HUGE_VAL
+#endif
   distanceToUser = HUGE;
   FGScheduledFlightVecIterator i = flights.begin();
   while (i != flights.end())