summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-03-05 14:20:32 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-03-05 14:20:32 (GMT)
commit45e7de400a3045f0e9a8c8998803def9347fe6cb (patch)
tree10f89be99c7445ed9b28e285503c1baca7bdbcba /Modules
parentb4541fd6f2c8994a2d22e9397514494bb8c5c62f (diff)
downloadcpython-45e7de400a3045f0e9a8c8998803def9347fe6cb.zip
cpython-45e7de400a3045f0e9a8c8998803def9347fe6cb.tar.gz
cpython-45e7de400a3045f0e9a8c8998803def9347fe6cb.tar.bz2
backport gvanrossum's checkin of
revision 2.40 of mpzmodule.c 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 04057f1..5c4d5cc 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