1
0
Fork 0

Cygwin fixes.

This commit is contained in:
ehofman 2005-02-18 12:40:38 +00:00
parent 02a757f9e6
commit d871ca845f
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <FDM/flight.hxx> #include <FDM/flight.hxx>
#include "Glue.hpp" #include "Glue.hpp"

View file

@ -444,6 +444,9 @@ void FGAISchedule::setClosestDistanceToUser()
FGAirport *dep; FGAirport *dep;
#ifdef __CYGWIN__
#define HUGE HUGE_VAL
#endif
distanceToUser = HUGE; distanceToUser = HUGE;
FGScheduledFlightVecIterator i = flights.begin(); FGScheduledFlightVecIterator i = flights.begin();
while (i != flights.end()) while (i != flights.end())