summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-06 17:59:09 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-06 17:59:09 +0000
commit5b8e498e92ca3d60a85ad2d274493226b4b88481 (patch)
tree81bfd366ba516904f4308b04541b9e85eaaf1e89 /libstdc++-v3
parentfb63f8460c1def6b0bd69d38a01efb42a3cdac25 (diff)
downloadgcc-5b8e498e92ca3d60a85ad2d274493226b4b88481.tar.gz
2007-02-06 Benjamin Kosnik <bkoz@redhat.com>
Marco Trudel <mtrudel@gmx.ch> * include/precompiled/extc++.h: Guard include files that assume iconv support is present from precompilation via _GLIBCXX_HAVE_ICONV. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/precompiled/extc++.h7
2 files changed, 11 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bad52803ef7..67acc42546a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-06 Benjamin Kosnik <bkoz@redhat.com>
+ Marco Trudel <mtrudel@gmx.ch>
+
+ * include/precompiled/extc++.h: Don't precompile include files
+ that assume iconv support is present.
+
2007-02-05 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_deque.h (operator<): Qualify call.
diff --git a/libstdc++-v3/include/precompiled/extc++.h b/libstdc++-v3/include/precompiled/extc++.h
index f3cd66236ba..7e8ef025cd6 100644
--- a/libstdc++-v3/include/precompiled/extc++.h
+++ b/libstdc++-v3/include/precompiled/extc++.h
@@ -37,10 +37,8 @@
#include <ext/array_allocator.h>
#include <ext/atomicity.h>
#include <ext/bitmap_allocator.h>
-#include <ext/codecvt_specializations.h>
#include <ext/concurrence.h>
#include <ext/debug_allocator.h>
-#include <ext/enc_filebuf.h>
#include <ext/functional>
#include <ext/hash_map>
#include <ext/hash_set>
@@ -68,3 +66,8 @@
#include <ext/pb_ds/list_update_policy.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/trie_policy.hpp>
+
+#ifdef _GLIBCXX_HAVE_ICONV
+ #include <ext/codecvt_specializations.h>
+ #include <ext/enc_filebuf.h>
+#endif