Skip to content

Commit

Permalink
Work around the toxic combination of Cython including internal cpytho…
Browse files Browse the repository at this point in the history
…n headers and Pari's #define long long long
  • Loading branch information
culler committed Sep 10, 2024
1 parent 5be0a96 commit bdfbd68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypari/cypari.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bdfbd68

Please sign in to comment.