summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-03-01 21:31:27 (GMT)
committerGuido van Rossum <guido@python.org>2002-03-01 21:31:27 (GMT)
commit6f33250ef939356b8a577049cafce1961760fd27 (patch)
treed0e16cbcb4de05c1e84a19cf074346ae153c1856 /Modules
parent7113d9607bcc685fdd1d33bfed83eae92902de42 (diff)
downloadcpython-6f33250ef939356b8a577049cafce1961760fd27.zip
cpython-6f33250ef939356b8a577049cafce1961760fd27.tar.gz
cpython-6f33250ef939356b8a577049cafce1961760fd27.tar.bz2
SF patch 517245 by Marc Recht.
Support GMP version >= 2. Bugfix candidate.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mpzmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mpzmodule.c b/Modules/mpzmodule.c
index c4e2993..e2d34b6 100644
--- a/Modules/mpzmodule.c
+++ b/Modules/mpzmodule.c
@@ -62,7 +62,7 @@
#include "gmp.h"
-#if __GNU_MP__ + 0 == 2
+#if __GNU_MP__ + 0 >= 2
#define GMP2
#define BITS_PER_MP_LIMB mp_bits_per_limb
#else