python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / gmp / patches / gmp-h.in.patch
blobb49f4c24c7cc964339d2b9a22b136330b53784f1
1 --- gmp-h.in 2013-08-10 12:04:01.027313447 +0400
2 +++ gmp-h.in 2013-08-10 12:23:41.933456077 +0400
3 @@ -31,8 +31,12 @@
4 #if ! defined (__GMP_WITHIN_CONFIGURE)
5 #define __GMP_HAVE_HOST_CPU_FAMILY_power @HAVE_HOST_CPU_FAMILY_power@
6 #define __GMP_HAVE_HOST_CPU_FAMILY_powerpc @HAVE_HOST_CPU_FAMILY_powerpc@
7 -#define GMP_LIMB_BITS @GMP_LIMB_BITS@
8 #define GMP_NAIL_BITS @GMP_NAIL_BITS@
9 +#if defined(__amd64) || defined(__sparcv9)
10 +#define GMP_LIMB_BITS 64
11 +#else
12 +#define GMP_LIMB_BITS 32
13 +#endif
14 #endif
15 #define GMP_NUMB_BITS (GMP_LIMB_BITS - GMP_NAIL_BITS)
16 #define GMP_NUMB_MASK ((~ __GMP_CAST (mp_limb_t, 0)) >> GMP_NAIL_BITS)
17 @@ -426,6 +430,10 @@
18 #define __GMP_EXTERN_INLINE extern __inline__
19 #endif
20 #define __GMP_INLINE_PROTOTYPES 1
21 +#else
22 +#ifdef __SUNPRO_C
23 +#define __GMP_EXTERN_INLINE static inline
24 +#endif
25 #endif
27 /* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1