From 57317d2a2c1f9b183f3ce9a6fa7b9319ee636375 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 26 May 2008 02:19:57 +0000 Subject: tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. 2008-05-25 Paolo Carlini * 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 --- libstdc++-v3/include/std/regex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libstdc++-v3/include/std/regex') 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 @@ // -*- 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 -#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 -- cgit v1.1