We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0edf7a commit e1caa5fCopy full SHA for e1caa5f
test/common/doctest.h
@@ -1,5 +1,5 @@
1
/*
2
- Modifications Copyright (c) 2020-2023 Intel Corporation
+ Modifications Copyright (c) 2020-2025 Intel Corporation
3
Modifications Licensed under the Apache License, Version 2.0;
4
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5
*/
@@ -509,7 +509,11 @@ DOCTEST_GCC_SUPPRESS_WARNING_POP
509
// https://github.com/doctest/doctest/issues/126
510
// https://github.com/doctest/doctest/issues/356
511
#if DOCTEST_CLANG
512
+#if DOCTEST_CPLUSPLUS >= 201703L && __has_include(<version>)
513
+#include <version>
514
+#else
515
#include <ciso646>
516
+#endif
517
#endif // clang
518
519
#ifdef _LIBCPP_VERSION
0 commit comments