From 35ba95dd9ca88525c641b1c9e5836a8cdf5a15a4 Mon Sep 17 00:00:00 2001 From: fredrik Date: Tue, 23 Jun 2020 00:15:11 +0200 Subject: [PATCH] fallback for old flint --- fmpz_extras.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fmpz_extras.h b/fmpz_extras.h index 85a06b3e..0c55f7f6 100644 --- a/fmpz_extras.h +++ b/fmpz_extras.h @@ -26,6 +26,10 @@ extern "C" { #endif #endif +#if __FLINT_RELEASE < 20600 +#define flint_bitcnt_t ulong +#endif + /* currently defined in the arb module, but global to the library */ double arb_test_multiplier(void);