mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Use a trick to make the test for GMP v2 to work when GMP v1 defines
__GNU_MP__ as empty: #if __GNU_MP__ + 0 == 2 (Untested.)
This commit is contained in:
parent
5060b3be9b
commit
57e846f803
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "gmp.h"
|
||||
#include "gmp-impl.h"
|
||||
|
||||
#if __GNU_MP__ == 2
|
||||
#if __GNU_MP__ + 0 == 2
|
||||
#define GMP2
|
||||
#else
|
||||
#define MPZ_GET_STR_BUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue