]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport gvanrossum's checkin of
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 1 Apr 2002 16:45:51 +0000 (16:45 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 1 Apr 2002 16:45:51 +0000 (16:45 +0000)
    revision 2.40 of mpzmodule.c

SF patch 517245 by Marc Recht.

Support GMP version >= 2.

Modules/mpzmodule.c

index d4a7370c67813bf8f7a1ef13c6195595c57dbe09..c3878cfac5e3e319fd7a51a4af8e8c484581c805 100644 (file)
@@ -63,7 +63,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