diff options
Diffstat (limited to 'Xfuncproto.h.in')
-rw-r--r-- | Xfuncproto.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in index b08a1e8..303743e 100644 --- a/Xfuncproto.h.in +++ b/Xfuncproto.h.in @@ -89,10 +89,12 @@ in this Software without prior written authorization from The Open Group. # define _X_EXPORT __attribute__((visibility("default"))) # define _X_HIDDEN __attribute__((visibility("hidden"))) # define _X_INTERNAL __attribute__((visibility("internal"))) +# define _X_INLINE inline #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) # define _X_EXPORT __global # define _X_HIDDEN __hidden # define _X_INTERNAL __hidden +# define _X_INLINE inline #else /* not gcc >= 3.3 and not Sun Studio >= 8 */ # define _X_EXPORT # define _X_HIDDEN |