patches/gmp-02-extern-inline-gmp-h.in.diff
author tom68
Mon, 14 Jun 2010 20:44:56 +0000
changeset 2783 ebb6ee3bb662
permissions -rw-r--r--
SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp SFEgmp bump to 4.3.2 - rework patch gmp-01, pause older assembly improvements on AMD64, add patch gmp-02 extern inline
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2783
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     1
http://gmplib.org/list-archives/gmp-discuss/2010-February/004031.html
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     2
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     3
fixed in some 5.x version but not yet in 4.x (if at all)
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     4
--- gmp-4.3.2/gmp-h.in.orig	2010-01-07 21:09:02.000000000 +0100
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     5
+++ gmp-4.3.2/gmp-h.in	2010-06-06 03:31:31.740609132 +0200
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     6
@@ -463,7 +463,7 @@
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     7
 /* Recent enough Sun C compilers accept "extern inline" */
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     8
 #if defined (__SUNPRO_C) && __SUNPRO_C >= 0x560 \
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
     9
   && ! defined (__GMP_EXTERN_INLINE)
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
    10
-#define __GMP_EXTERN_INLINE  extern inline
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
    11
+#define __GMP_EXTERN_INLINE  inline
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
    12
 #endif
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
    13
 
ebb6ee3bb662 SFEmpfr bump to 2.4.2 - adjust location of SFEgmp, always require SFEgmp
tom68
parents:
diff changeset
    14
 /* Somewhat older Sun C compilers accept "static inline" */