diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-05-04 15:35:47 +0200 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-05-04 15:35:47 +0200 |
commit | e932b6434e1642b0ecbc93027ebe462da29be135 (patch) | |
tree | ae302daa603e02571c7759720e4d46163088db71 /gmp-h.in | |
parent | e9595ed3678a719e3d2f8747d2ab65a7d0cd443b (diff) | |
download | gmp-e932b6434e1642b0ecbc93027ebe462da29be135.tar.gz |
Amend last fix.
Diffstat (limited to 'gmp-h.in')
-rw-r--r-- | gmp-h.in | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -461,12 +461,14 @@ typedef __mpq_struct *mpq_ptr; #endif /* Recent enough Sun C compilers accept "extern inline" */ -#if defined (__SUNPRO_C) && __SUNPRO_C >= 0x560 +#if defined (__SUNPRO_C) && __SUNPRO_C >= 0x560 \ + && ! defined (__GMP_EXTERN_INLINE) #define __GMP_EXTERN_INLINE extern inline #endif /* Somewhat older Sun C compilers accept "static inline" */ -#if defined (__SUNPRO_C) && __SUNPRO_C >= 0x540 +#if defined (__SUNPRO_C) && __SUNPRO_C >= 0x540 \ + && ! defined (__GMP_EXTERN_INLINE) #define __GMP_EXTERN_INLINE static inline #endif |