]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compiler.h
Patch to tweak traits so they work on Irix too.
[simgear.git] / simgear / compiler.h
index 1cad5dfbf1e1cb0cda124ea0df4c4f704fb80701..27665fc18d016abbc12b0f2fe3a71c7682f574ee 100644 (file)
 #  endif
 #endif
 
+/* KAI C++ */
+#if defined(__KCC)
+
+#  define FG_NAMESPACES
+#  define FG_HAVE_STD
+#  define FG_HAVE_STREAMBUF
+#  define FG_HAVE_TRAITS
+#  define FG_HAVE_STD_INCLUDES
+
+#  define STL_ALGORITHM  <algorithm>
+#  define STL_FUNCTIONAL <functional>
+#  define STL_IOMANIP    <iomanip>
+#  define STL_IOSTREAM   <iostream>
+#  define STL_FSTREAM    <fstream>
+#  define STL_STDEXCEPT  <stdexcept>
+#  define STL_STRING     <string>
+#  define STL_STRSTREAM  <strstream>
+#endif
+
 //
 // Metrowerks 
 //
 #  define FG_NAMESPACES
 #  define FG_HAVE_STD
 #  define FG_CLASS_PARTIAL_SPECIALIZATION
+#  define FG_HAVE_TRAITS
 
 #  define STL_ALGORITHM  <algorithm>
 #  define STL_FUNCTIONAL <functional>