diff --git a/simgear/compiler.h b/simgear/compiler.h index 05a4a36b..adcc51f4 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -336,7 +336,9 @@ 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