Skip to content

Commit 295ae03

Browse files
committed
Fix macro for MSVC
1 parent bd2c69a commit 295ae03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/benchmarks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
#ifdef BOOST_DECIMAL_RUN_BENCHMARKS
4545

46-
#if __cplusplus >= 201703L
46+
#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
4747
#if __has_include(<charconv>)
4848
# include <charconv>
4949
# if defined(__cpp_lib_to_chars) && __cpp_lib_to_chars >= 201611L

0 commit comments

Comments
 (0)