]> git.mxchange.org Git - simgear.git/commitdiff
Make sure MispPro compilers < 7.4 still work
authorehofman <ehofman>
Thu, 15 Jan 2004 14:21:31 +0000 (14:21 +0000)
committerehofman <ehofman>
Thu, 15 Jan 2004 14:21:31 +0000 (14:21 +0000)
simgear/compiler.h

index a709b9011664b423f1d509c2c6333ecf6640d27e..824c9024cf2d9187fafbcc49c1a36e78111b1027 100644 (file)
 #  define STL_FSTREAM    <fstream>
 #  define STL_STDEXCEPT  <stdexcept>
 #if (_COMPILER_VERSION < 740)
-#  define STL_STRING     <simgear/compatibility/irix_string>
+#  define STL_STRING     <irix_string>
 #else
 #  define STL_STRING     <string>
 #endif
 
 #ifdef __cplusplus
 #pragma set woff 1682,3303
+#if (_COMPILER_VERSION >= 740)
+#  pragma set woff 3624
+#endif
 #endif
 
 #  define SG_COMPILER_STR "SGI MipsPro compiler version " SG_STRINGIZE(_COMPILER_VERSION)