]> git.mxchange.org Git - flightgear.git/commitdiff
Updates for Mac compilers.
authorcurt <curt>
Sat, 7 Aug 1999 18:22:57 +0000 (18:22 +0000)
committercurt <curt>
Sat, 7 Aug 1999 18:22:57 +0000 (18:22 +0000)
src/Include/compiler.h

index 2b4b940d3b0f52edf7f5560a3087e946f3288033..95fd8afcb00447e32f312e611f522c3bdefbd06b 100644 (file)
 /*
   CodeWarrior compiler from Metrowerks, Inc.
 */
-#  if (__MWERKS__ < 0x0900) //|| macintosh
-#    define FG_HAVE_TRAITS
-#    define FG_HAVE_STD_INCLUDES
-#    define FG_HAVE_STD
-#    define FG_NAMESPACES
+#  define FG_HAVE_TRAITS
+#  define FG_HAVE_STD_INCLUDES
+#  define FG_HAVE_STD
+#  define FG_NAMESPACES
 
-#    define STL_ALGORITHM  <algorithm>
-#    define STL_FUNCTIONAL <functional>
-#    define STL_IOMANIP    <iomanip>
-#    define STL_IOSTREAM   <iostream>
-#    define STL_STDEXCEPT  <stdexcept>
-#    define STL_STRING     <string>
+#  define STL_ALGORITHM  <algorithm>
+#  define STL_FUNCTIONAL <functional>
+#  define STL_IOMANIP    <iomanip>
+#  define STL_IOSTREAM   <iostream>
+#  define STL_STDEXCEPT  <stdexcept>
+#  define STL_STRING     <string>
 
 // Temp:
-#    define bcopy(from, to, n) memcpy(to, from, n)
+#  define bcopy(from, to, n) memcpy(to, from, n)
 
 // -rp- please use FG_MEM_COPY everywhere !
-#    define FG_MEM_COPY(to,from,n) memcpy(to, from, n)
+#  define FG_MEM_COPY(to,from,n) memcpy(to, from, n)
 
 // -dw- currently used glut has no game mode stuff
-#    define GLUT_WRONG_VERSION
-
-#  elif (__MWERKS__ >= 0x0900) && __INTEL__
-#    error still to be supported...
-#  else
-#    error unknown Metrowerks compiler
-#  endif
+#  define GLUT_WRONG_VERSION
 #endif
 
 //