From: ehofman Date: Sat, 15 Jan 2005 14:24:28 +0000 (+0000) Subject: Solaris fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f1fc99f16fee024f66e05b0dc1e7f14aaebafc79;p=simgear.git Solaris fix --- 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