Martin Spott wrote:
> foehn: 13:47:11 ~> man finite
> NAME
>      isnan, isnand, isnanf, finite, fpclass, unordered  -  deter-
>      mine type of floating-point number
> 
> SYNOPSIS
>      #include <ieeefp.h>

If there's no suitable replacement for 'finite' then I'd suggest the
following patch:

--- FlightGear/src/AIModel/AIAircraft.cxx~      2005-05-06 13:53:21.620009000 
+0200
+++ FlightGear/src/AIModel/AIAircraft.cxx       2005-05-06 13:53:18.312280850 
+0200
@@ -32,6 +32,8 @@
 
 #include <string>
 #include <math.h>
+#if defined(sun)
+  #include <ieeefp.h>
+#endif
 #include <time.h>
 #ifdef _MSC_VER
 #  include <float.h>


Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to