Cygwin fixes.
This commit is contained in:
parent
02a757f9e6
commit
d871ca845f
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <FDM/flight.hxx>
|
||||
|
||||
#include "Glue.hpp"
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue