aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/regex
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2008-05-26 02:19:57 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2008-05-26 02:19:57 +0000
commit57317d2a2c1f9b183f3ce9a6fa7b9319ee636375 (patch)
treee5dcd8edd3cb91ff276d94dd9fa90b18fc5179ca /libstdc++-v3/include/std/regex
parent73d1a02168e712a96170e9ee93d1b6509f141f0c (diff)
downloadgcc-57317d2a2c1f9b183f3ce9a6fa7b9319ee636375.zip
gcc-57317d2a2c1f9b183f3ce9a6fa7b9319ee636375.tar.gz
gcc-57317d2a2c1f9b183f3ce9a6fa7b9319ee636375.tar.bz2
tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
2008-05-25 Paolo Carlini <paolo.carlini@oracle.com> * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. * include/std/date_time: Likewise. * include/std/system_error: Likewise. * include/std/type_traits: Likewise; fix typo in macro name. * include/std/regex: Likewise. * include/std/random: Likewise. * include/std/unordered_map: Likewise. * include/std/condition_variable: Likewise. * include/std/unordered_set: Likewise. * include/std/mutex: Likewise. * include/std/array: Likewise. * include/c_std/cmath: Fix obsolete comment. * include/c_global/cmath: Likewise. From-SVN: r135890
Diffstat (limited to 'libstdc++-v3/include/std/regex')
-rw-r--r--libstdc++-v3/include/std/regex6
1 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/include/std/regex b/libstdc++-v3/include/std/regex
index 9014fba..00d6f69 100644
--- a/libstdc++-v3/include/std/regex
+++ b/libstdc++-v3/include/std/regex
@@ -1,6 +1,6 @@
// <regex> -*- C++ -*-
-// Copyright (C) 2007 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -38,7 +38,7 @@
#ifndef __GXX_EXPERIMENTAL_CXX0X__
# include <c++0x_warning.h>
-#endif
+#else
#if defined(_GLIBCXX_INCLUDE_AS_TR1)
# error C++0x header cannot be included from TR1 header
@@ -67,4 +67,6 @@
# undef _GLIBCXX_INCLUDE_AS_CXX0X
#endif
+#endif // __GXX_EXPERIMENTAL_CXX0X__
+
#endif // _GLIBCXX_REGEX