Message ID | 20231116080314.1218556-2-jwakely@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed,1/2] libstdc++: Adjust feature test in <istream> and <ostream> | expand |
diff --git a/libstdc++-v3/include/bits/version.def b/libstdc++-v3/include/bits/version.def index 8f008f9048f..2aab9426ecc 100644 --- a/libstdc++-v3/include/bits/version.def +++ b/libstdc++-v3/include/bits/version.def @@ -1640,7 +1640,7 @@ stds[11] = ">= 201103L"; stds[14] = ">= 201402L"; stds[17] = ">= 201703L"; stds[20] = ">= 202002L"; -stds[23] = ">= 202302L"; +stds[23] = ">= 202100L"; // Should be 202302L but Clang 16 uses 202101L stds[26] = "> 202302L"; // TODO: update when finalized // Local Variables: diff --git a/libstdc++-v3/include/std/thread b/libstdc++-v3/include/std/thread index c182a4d56c1..39042d7cdf5 100644 --- a/libstdc++-v3/include/std/thread +++ b/libstdc++-v3/include/std/thread @@ -42,7 +42,7 @@ # include <stop_token> // std::stop_source, std::stop_token, std::nostopstate #endif -#if __cplusplus >= 202302L +#if __cplusplus > 202002L # include <format> #endif