From a05348d63ef195fd0242a452ee581b6df79f2f0b Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 19 Aug 2011 14:43:35 -0600 Subject: [PATCH] merged andrews merge to R3.15 --- src/libCom/osi/compiler/gcc/compilerSpecific.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/libCom/osi/compiler/gcc/compilerSpecific.h b/src/libCom/osi/compiler/gcc/compilerSpecific.h index f30b696b5..3dc505c29 100644 --- a/src/libCom/osi/compiler/gcc/compilerSpecific.h +++ b/src/libCom/osi/compiler/gcc/compilerSpecific.h @@ -53,7 +53,10 @@ /* * Deprecation marker if possible */ - -#define EPICS_DEPRECATED __attribute__((deprecated)) +#if (__GNUC__ > 2) +# define EPICS_DEPRECATED __attribute__((deprecated)) +#else +# define EPICS_DEPRECATED +#endif #endif /* ifndef compilerSpecific_h */