diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-09-20 21:11:30 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-09-20 21:11:30 +0300 |
commit | c3f56593f776e7f9e3e0d220c6bcf8be38a16839 (patch) | |
tree | 60c20c03fa6a6e459427663df95450ae63df40db /Xfuncproto.h.in | |
parent | 4fb2e257ae6de38971be8005283402226aea1ee5 (diff) |
Xfuncproto: add _X_INLINE
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 |