projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3f27c
)
Better fix for mpzmodule problem reported by Peter Funk: just use
author
Andrew M. Kuchling
<amk@amk.ca>
Fri, 25 Feb 2000 22:23:31 +0000
(22:23 +0000)
committer
Andrew M. Kuchling
<amk@amk.ca>
Fri, 25 Feb 2000 22:23:31 +0000
(22:23 +0000)
mp_bits_per_limb with GMP 2.0
Modules/mpzmodule.c
patch
|
blob
|
history
diff --git
a/Modules/mpzmodule.c
b/Modules/mpzmodule.c
index 2653a95b0e57f1ab5e7fbb53e6a9f3e4117f86fe..e701d8548db1e5232a813ce694c0a3234f97e28f 100644
(file)
--- a/
Modules/mpzmodule.c
+++ b/
Modules/mpzmodule.c
@@
-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 {