summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-05-04 15:35:47 +0200
committerTorbjorn Granlund <tege@gmplib.org>2009-05-04 15:35:47 +0200
commite932b6434e1642b0ecbc93027ebe462da29be135 (patch)
treeae302daa603e02571c7759720e4d46163088db71 /gmp-h.in
parente9595ed3678a719e3d2f8747d2ab65a7d0cd443b (diff)
downloadgmp-e932b6434e1642b0ecbc93027ebe462da29be135.tar.gz
Amend last fix.
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/gmp-h.in b/gmp-h.in
index 9e3d8e7e8..a52f1f078 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -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