]> git.mxchange.org Git - flightgear.git/blobdiff - JSBsim/FGTranslation.h
Added initial support for native SGI compilers.
[flightgear.git] / JSBsim / FGTranslation.h
index 423f7ab0310f9a2fd9d9d71f4c3f2407dc0c23d2..bbc3dc297c5c6b8c4d938615131bbd6b5b72edb3 100644 (file)
@@ -56,7 +56,17 @@ SENTRY
 INCLUDES
 *******************************************************************************/
 
-#include <math.h>
+#ifdef FGFS
+#  include <Include/compiler.h>
+#  ifdef FG_HAVE_STD_INCLUDES
+#    include <cmath>
+#  else
+#    include <math.h>
+#  endif
+#else
+#  include <cmath>
+#endif
+
 #include "FGModel.h"
 
 /*******************************************************************************