Skip to content

Commit 57426c6

Browse files
committed
Fix CI in additional environments
1 parent 2eecbc4 commit 57426c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_string_locale_conversion.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Distributed under the Boost Software License, Version 1.0.
33
// https://www.boost.org/LICENSE_1_0.txt
44

5+
#include <boost/decimal/detail/config.hpp>
6+
57
#if !(defined(__GNUC__) && __GNUC__ >= 5 && defined(__APPLE__)) && !defined(BOOST_DECIMAL_QEMU_TEST) && !defined(BOOST_DECIMAL_DISABLE_EXCEPTIONS) && !defined(_MSC_VER)
68

79
#include <boost/decimal/detail/locale_conversion.hpp>
@@ -67,7 +69,9 @@ int main()
6769
{
6870
test_conversion_to_c_locale("en_US.UTF-8"); // . decimal, , thousands
6971
test_conversion_to_c_locale("de_DE.UTF-8"); // , decimal, . thousands
72+
#if (defined(__clang__) && __clang_major__ > 9) || (defined(__GNUC__) && __GNUC__ > 9)
7073
test_conversion_to_c_locale("fr_FR.UTF-8"); // , decimal, thousands
74+
#endif
7175

7276
test_conversion_from_c_locale("en_US.UTF-8", "1,122.89");
7377

0 commit comments

Comments
 (0)