]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 Jun 2015 12:27:06 +0000 (13:27 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 12 Jun 2015 12:27:06 +0000 (13:27 +0100)
From-SVN: r224425

libstdc++-v3/ChangeLog
libstdc++-v3/include/precompiled/stdc++.h

index e5094df44ddf2d17ab2db8b1f9089765235700c6..e124e06be7f71f8a10dcc429d2988edcf4f23444 100644 (file)
@@ -1,5 +1,7 @@
 2015-06-12  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
+
        PR libstdc++/66464
        * src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length):
        Return 4 not 3.
index 8449ec098eaa664abd955893b6e1feb344d7f9d7..693391adffbabc8602b289b41830c5faf64519a6 100644 (file)
@@ -98,6 +98,7 @@
 #include <array>
 #include <atomic>
 #include <chrono>
+#include <codecvt>
 #include <condition_variable>
 #include <forward_list>
 #include <future>
 #include <unordered_map>
 #include <unordered_set>
 #endif
+
+#if __cplusplus >= 201402L
+#include <shared_mutex>
+#endif