X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fcompiler.h;h=adcc51f429659e3af1e6f935eb2e55f4359bf7f6;hb=3b6af2f0c2dfc6ee2dee057da426ed9465dc89fa;hp=05a4a36b171d3f944e49d1f5ae1970943f667b84;hpb=7b24e94c66fd04c3f4b130c29aedf65145628fb3;p=simgear.git 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