diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2010-01-15 18:59:33 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2010-01-15 18:59:33 +0100 |
commit | 7cb39c2da82928ceee077cc3e623cfe36f1b1172 (patch) | |
tree | 93f470c2f6e3cacc995eb4f7d96b0483bf31da28 /gmp-h.in | |
parent | 9d6c7ddc663693f3c4d9426d3be734309be71b58 (diff) | |
download | gmp-7cb39c2da82928ceee077cc3e623cfe36f1b1172.tar.gz |
(__GMP_EXTERN_INLINE): Remove "extern" for newer Sun C
Diffstat (limited to 'gmp-h.in')
-rw-r--r-- | gmp-h.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -460,13 +460,13 @@ typedef __mpq_struct *mpq_ptr; #define __GMP_EXTERN_INLINE __inline #endif -/* Recent enough Sun C compilers accept "extern inline" */ +/* Recent enough Sun C compilers want "inline" */ #if defined (__SUNPRO_C) && __SUNPRO_C >= 0x560 \ && ! defined (__GMP_EXTERN_INLINE) -#define __GMP_EXTERN_INLINE extern inline +#define __GMP_EXTERN_INLINE inline #endif -/* Somewhat older Sun C compilers accept "static inline" */ +/* Somewhat older Sun C compilers want "static inline" */ #if defined (__SUNPRO_C) && __SUNPRO_C >= 0x540 \ && ! defined (__GMP_EXTERN_INLINE) #define __GMP_EXTERN_INLINE static inline |