]> git.mxchange.org Git - simgear.git/commitdiff
Borland portability fixes contributed by Charlie Hotchkiss.
authorcurt <curt>
Sat, 8 May 1999 02:33:13 +0000 (02:33 +0000)
committercurt <curt>
Sat, 8 May 1999 02:33:13 +0000 (02:33 +0000)
Lib/Bucket/newbucket.hxx

index 6871b3ee67cd8fd4a230ec8420f2882f76afa674..743c81d61720201dc9c0a8040ce41a4f07ba36c0 100644 (file)
 
 #include <Include/compiler.h>
 
-#include STL_STRING
-
 #ifdef FG_HAVE_STD_INCLUDES
+#  include <cmath>
 #  include <cstdio> // sprintf()
 #  include <iostream>
 #else
+#  include <math.h>
 #  include <stdio.h> // sprintf()
 #  include <iostream.h>
 #endif
 
+#include STL_STRING
+
 FG_USING_STD(string);
 
 #if ! defined( FG_HAVE_NATIVE_SGI_COMPILERS )
 FG_USING_STD(ostream);
 #endif
 
-#ifdef __MWERKS__
-#include <math.h>
-#include <stdio.h>
-#endif
-
 #include <Include/fg_constants.h>