From bdfbd6892de4335a5a67d561893fc2deca03aaad Mon Sep 17 00:00:00 2001 From: Marc Culler Date: Tue, 10 Sep 2024 15:32:19 -0500 Subject: [PATCH] Work around the toxic combination of Cython including internal cpython headers and Pari's #define long long long --- cypari/cypari.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypari/cypari.h b/cypari/cypari.h index cc10480..9b07a96 100644 --- a/cypari/cypari.h +++ b/cypari/cypari.h @@ -11,3 +11,6 @@ #define set_gmael(x, i, j, z) (gmael((x), (i), (j)) = (z)) #define set_gcoeff(x, i, j, z) (gcoeff((x), (i), (j)) = (z)) #define set_uel(x, n, z) (uel((x), (n)) = (z)) + +/* Undo the damage caused by Pari's ridiculous hack for 64 bit windows.*/ +#undef long