aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/algorithmfwd.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-11-01 00:02:45 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-11-01 00:02:45 -0400
commita7d5d7e221f85f6afc574beaa9d2dcabc67368d7 (patch)
tree0ededd9412f3ae08e4c8e3ac8f0e81721497a143 /libstdc++-v3/include/bits/algorithmfwd.h
parente03ea4ad2c6fea4770c73a2938b604486559f52e (diff)
downloadgcc-a7d5d7e221f85f6afc574beaa9d2dcabc67368d7.zip
gcc-a7d5d7e221f85f6afc574beaa9d2dcabc67368d7.tar.gz
gcc-a7d5d7e221f85f6afc574beaa9d2dcabc67368d7.tar.bz2
Makefile.am (install-freestanding-headers): Install c++0x_warning.h.
* include/Makefile.am (install-freestanding-headers): Install c++0x_warning.h. * libsupc++/initializer_list: Include it. From-SVN: r180727
Diffstat (limited to 'libstdc++-v3/include/bits/algorithmfwd.h')
-rw-r--r--libstdc++-v3/include/bits/algorithmfwd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/algorithmfwd.h b/libstdc++-v3/include/bits/algorithmfwd.h
index cc0b98e..fbec55d 100644
--- a/libstdc++-v3/include/bits/algorithmfwd.h
+++ b/libstdc++-v3/include/bits/algorithmfwd.h
@@ -35,7 +35,9 @@
#include <bits/c++config.h>
#include <bits/stl_pair.h>
#include <bits/stl_iterator_base_types.h>
+#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <initializer_list>
+#endif
namespace std _GLIBCXX_VISIBILITY(default)
{