Skip to content

Commit f5bf045

Browse files
committed
Workaround broken windows libraries
1 parent 8e896d3 commit f5bf045

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

test/test_assoc_legendre.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
# pragma GCC diagnostic ignored "-Wfloat-equal"
2424
#endif
2525

26+
// Windows in Github actions has a broken chrono header
27+
#if defined(_WIN32)
28+
29+
int main()
30+
{
31+
return 0;
32+
}
33+
34+
#else
35+
2636
#include <boost/math/special_functions/next.hpp>
2737
#include <boost/math/special_functions/legendre.hpp>
2838
#include <boost/core/lightweight_test.hpp>
@@ -233,3 +243,5 @@ int main()
233243

234244
return boost::report_errors();
235245
}
246+
247+
#endif

test/test_zeta.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
# pragma GCC diagnostic ignored "-Wfloat-equal"
2525
#endif
2626

27-
// Clang-win in Github actions has a broken chrono header
28-
#if defined(_WIN32) && defined(__clang__)
27+
// Windows in Github actions has a broken chrono header
28+
#if defined(_WIN32)
2929

3030
int main()
3131
{

0 commit comments

Comments
 (0)