From f1fc99f16fee024f66e05b0dc1e7f14aaebafc79 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 15 Jan 2005 14:24:28 +0000 Subject: [PATCH] Solaris fix --- simgear/compiler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5