diff mbox

Add missing C++11 and C++14 headers to bits/stdc++.h

Message ID 20150612122721.GT12728@redhat.com
State New
Headers show

Commit Message

Jonathan Wakely June 12, 2015, 12:27 p.m. UTC
<codecvt> and <shared_mutex> were not included in the precompiled
headers.

Tested powerpc64le-linux, committed to trunk.
diff mbox

Patch

commit 66c9926b63b5dd333f310fa621d5c495deb77681
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jun 12 12:42:41 2015 +0100

    	* include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.

diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h
index 8449ec0..693391a 100644
--- a/libstdc++-v3/include/precompiled/stdc++.h
+++ b/libstdc++-v3/include/precompiled/stdc++.h
@@ -98,6 +98,7 @@ 
 #include <array>
 #include <atomic>
 #include <chrono>
+#include <codecvt>
 #include <condition_variable>
 #include <forward_list>
 #include <future>
@@ -115,3 +116,7 @@ 
 #include <unordered_map>
 #include <unordered_set>
 #endif
+
+#if __cplusplus >= 201402L
+#include <shared_mutex>
+#endif