Commit b6f6e95e authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Better fix for mpzmodule problem reported by Peter Funk: just use

    mp_bits_per_limb with GMP 2.0
parent 7d3f27c0
......@@ -93,16 +93,12 @@ PERFORMANCE OF THIS SOFTWARE.
#include "gmp.h"
#if defined __GLIBC__ && __GLIBC__ >= 2 /*aid building on Linux distributions*/
#define BITS_PER_MP_LIMB mp_bits_per_limb
#else
#include "gmp-mparam.h"
#endif
#if __GNU_MP__ + 0 == 2
#define GMP2
#define BITS_PER_MP_LIMB mp_bits_per_limb
#else
#define MPZ_GET_STR_BUG
#include "gmp-mparam.h"
#endif
typedef struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment