From bdbccd1c53daa50a5526f5a3f5a71ede72fc2efc Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Tue, 6 Feb 2007 17:59:09 +0000 Subject: [PATCH] extc++.h: Guard include files that assume iconv support is present from precompilation... 2007-02-06 Benjamin Kosnik Marco Trudel * include/precompiled/extc++.h: Guard include files that assume iconv support is present from precompilation via _GLIBCXX_HAVE_ICONV. Co-Authored-By: Marco Trudel From-SVN: r121655 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/precompiled/extc++.h | 7 +++++-- 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 + Marco Trudel + + * include/precompiled/extc++.h: Don't precompile include files + that assume iconv support is present. + 2007-02-05 Paolo Carlini * 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 #include #include -#include #include #include -#include #include #include #include @@ -68,3 +66,8 @@ #include #include #include + +#ifdef _GLIBCXX_HAVE_ICONV + #include + #include +#endif -- 2.30.2