Kaydet (Commit) 57e846f8 authored tarafından Guido van Rossum's avatar Guido van Rossum

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.)
üst 5060b3be
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment