Commits

Martin von Löwis committed 0b64550

backport gvanrossum's checkin of
revision 2.40 of mpzmodule.c

SF patch 517245 by Marc Recht.

Support GMP version >= 2.

  • Participants
  • Parent commits 86a27ba
  • Branches 2.1

Comments (0)

Files changed (1)

File Modules/mpzmodule.c

 
 #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