]> git.mxchange.org Git - flightgear.git/commitdiff
Depreciate HUGE in favor of HUGE_VAL.
authorehofman <ehofman>
Thu, 20 Oct 2005 13:56:16 +0000 (13:56 +0000)
committerehofman <ehofman>
Thu, 20 Oct 2005 13:56:16 +0000 (13:56 +0000)
src/Airports/simple.cxx

index e24090b07c41c968155502277f2cc3535943ef15..8cdd2e7631608ae37a8f7a5eccad08e9af52fd01 100644 (file)
@@ -56,9 +56,6 @@
 SG_USING_STD(sort);
 SG_USING_STD(random_shuffle);
 
-#ifdef __CYGWIN__
-#define HUGE HUGE_VAL
-#endif
 
 /******************************************************************************
  * ScheduleTime
@@ -1332,7 +1329,7 @@ void FGGroundNetwork::init()
 
 int FGGroundNetwork::findNearestNode(double lat, double lon)
 {
-  double minDist = HUGE;
+  double minDist = HUGE_VAL;
   double course, dist;
   int index;
   SGWayPoint first  (lon,