]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport gvanrossum's checkin of
authorMichael W. Hudson <mwh@python.net>
Tue, 5 Mar 2002 14:20:32 +0000 (14:20 +0000)
committerMichael W. Hudson <mwh@python.net>
Tue, 5 Mar 2002 14:20:32 +0000 (14:20 +0000)
    revision 2.40 of mpzmodule.c

SF patch 517245 by Marc Recht.

Support GMP version >= 2.

Bugfix candidate.

Modules/mpzmodule.c

index 04057f1fa5614b48e156eb9f480adf6b12ed411d..5c4d5cc8a6959a362cb9f0d56be77afd77379c8b 100644 (file)
@@ -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