From 188c7581721d8261113d29b078fcd0d6524e1ecb Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Sat, 29 Jan 2000 02:28:50 +0000 Subject: [PATCH] added INLINE definition --- src/libCom/misc/shareLib.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/libCom/misc/shareLib.h b/src/libCom/misc/shareLib.h index a81594632..6c53e2060 100644 --- a/src/libCom/misc/shareLib.h +++ b/src/libCom/misc/shareLib.h @@ -157,3 +157,20 @@ #endif +#ifndef INLINE_defs_EPICS +#define INLINE_defs_EPICS +# ifndef __cplusplus +# if defined (__GNUC__) +# define INLINE extern __inline__ +# elif defined (_MSC_VER) +# define INLINE __inline +# elif defined (_SUNPRO_C) +# pragma error_messages (off, extern and prior uses redeclared as static) +# define INLINE static +# else +# define INLINE static +# endif +# endif /* ifndef __cplusplus */ +#endif /* ifdef INLINE_defs_EPICS */ + +