File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
sage_setup/autogen/flint/templates Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2626#pragma push_macro("ulong")
2727#undef ulong
2828
29+ /* Reserved in C99, needed for FLINT without https://github.com/flintlib/flint/pull/2027 */
30+ #pragma push_macro("I")
31+ #define I Iv
32+
2933#include <flint/flint.h>
3034
3135/* If flint was already previously included via another header (e.g.
169173#undef mp_bitcnt_t
170174
171175#pragma pop_macro("ulong")
176+ #pragma pop_macro("I")
172177
173178/* CPU_SIZE_1 and SIZE_RED_FAILURE_THRESH are defined as macros in flint/fmpz_lll.h
174179 * and as variables in fplll/defs.h, which breaks build if linbox is compiled with fplll */
Original file line number Diff line number Diff line change 2626#pragma push_macro("ulong")
2727#undef ulong
2828
29+ /* Reserved in C99, needed for FLINT without https://github.com/flintlib/flint/pull/2027 */
30+ #pragma push_macro("I")
31+ #define I Iv
32+
2933#include <flint/flint.h>
3034
3135/* If flint was already previously included via another header (e.g.
4347#undef mp_bitcnt_t
4448
4549#pragma pop_macro("ulong")
50+ #pragma pop_macro("I")
4651
4752/* CPU_SIZE_1 and SIZE_RED_FAILURE_THRESH are defined as macros in flint/fmpz_lll.h
4853 * and as variables in fplll/defs.h, which breaks build if linbox is compiled with fplll */
You can’t perform that action at this time.
0 commit comments