From c53b7bbec3f0230e684611306eadfc0c1ec7308d Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 20 Oct 2005 13:56:16 +0000 Subject: [PATCH] Depreciate HUGE in favor of HUGE_VAL. --- src/Airports/simple.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Airports/simple.cxx b/src/Airports/simple.cxx index e24090b07..8cdd2e763 100644 --- a/src/Airports/simple.cxx +++ b/src/Airports/simple.cxx @@ -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, -- 2.39.5