aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/ext/headers.cc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2008-06-06 16:03:52 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2008-06-06 16:03:52 +0100
commit8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e (patch)
tree352247148facfd40800bdc0e85bf8efbe6364151 /libstdc++-v3/testsuite/ext/headers.cc
parentd0ae31b09e53f18cf51bd9015b8300bef3353e43 (diff)
downloadgcc-8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e.zip
gcc-8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e.tar.gz
gcc-8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e.tar.bz2
all.cc, [...]: Only include <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if...
* testsuite/17_intro/headers/all.cc, testsuite/17_intro/headers/all_c++200x_compatibility.cc, testsuite/17_intro/headers/all_pedantic_errors.cc, testsuite/ext/headers.cc: Only include <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if _GLIBCXX_HAVE_ICONV. From-SVN: r136485
Diffstat (limited to 'libstdc++-v3/testsuite/ext/headers.cc')
-rw-r--r--libstdc++-v3/testsuite/ext/headers.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/ext/headers.cc b/libstdc++-v3/testsuite/ext/headers.cc
index a1bdbb3..d4c079e 100644
--- a/libstdc++-v3/testsuite/ext/headers.cc
+++ b/libstdc++-v3/testsuite/ext/headers.cc
@@ -28,10 +28,14 @@
#include <ext/array_allocator.h>
#include <ext/atomicity.h>
#include <ext/bitmap_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/codecvt_specializations.h>
+#endif
#include <ext/concurrence.h>
#include <ext/debug_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/enc_filebuf.h>
+#endif
#include <ext/functional>
#include <ext/iterator>
#include <ext/malloc_allocator.h>