]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compiler.h
Ready for 0.3.8 release.
[simgear.git] / simgear / compiler.h
index ec05e881d3844907b6eb7e6e7bdc173dbdfc3d52..adcc51f429659e3af1e6f935eb2e55f4359bf7f6 100644 (file)
 #      define STL_STRSTREAM  <strstream>
 
 #    endif
-#  elif __GNUC__ == 3
+#  elif __GNUC__ >= 3
        // g++-3.0.x
 #      define SG_EXPLICIT_FUNCTION_TMPL_ARGS
 #      define SG_NEED_AUTO_PTR
      extern void *memmove(void *, const void *, size_t);
 #  endif // __cplusplus
 
-#  define SG_COMPILER_STR "Sun compiler version " SG_STRINGIZE(__SUNPRO_CC)
+#  if  !defined( __GNUC__ )
+#   define SG_COMPILER_STR "Sun compiler version " SG_STRINGIZE(__SUNPRO_CC)
+#  endif
 
 #endif // sun