File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments