Origin: https://github.com/Macaulay2/M2/commit/
ff0f0cb (reversed)
Bug: https://github.com/Macaulay2/M2/issues/2347
Last-Update: 2021-12-18
Gbp-Pq: Name givaro-bool-constant.patch
};
#else
-#define bool_constant givaro_bool_constant
#include <givaro/gfq.h>
#include <givaro/givpower.h>
#include <givaro/givtimer.h>
#include <givaro/givintnumtheo.h>
#include <givaro/givpower.h>
#include <givaro/givpoly1padic.h>
-#undef bool_constant
+
#include <type_traits>
namespace M2 {
// this fixes a weird problem in the package "openblas" of Arch Linux, which somehow fails to declare this function:
extern "C" void openblas_set_num_threads(int num_threads);
-#define bool_constant givaro_bool_constant
+
#include <fflas-ffpack/ffpack/ffpack.h>
-#undef bool_constant
#pragma GCC diagnostic pop
namespace M2 {