OSDN Git Service

2007-02-06 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Feb 2007 17:59:09 +0000 (17:59 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Feb 2007 17:59:09 +0000 (17:59 +0000)
            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

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

index bad5280..67acc42 100644 (file)
@@ -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.
index f3cd662..7e8ef02 100644 (file)
 #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