From: Jonathan Wakely Date: Tue, 20 Nov 2012 00:24:18 +0000 (+0000) Subject: array_allocator.h: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. X-Git-Tag: releases/gcc-4.8.0~1904 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b1328eb3c6d94a907bd1fc7c1b6554174e01408;p=thirdparty%2Fgcc.git array_allocator.h: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. * include/ext/array_allocator.h: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. From-SVN: r193644 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f96cf7a8e844..3ced7cf421ef 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2012-11-20 Jonathan Wakely + + * include/ext/array_allocator.h: Replace uses of + __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. + 2012-11-19 Jonathan Wakely * testsuite/20_util/allocator/requirements/typedefs.cc: Check rebind diff --git a/libstdc++-v3/include/ext/array_allocator.h b/libstdc++-v3/include/ext/array_allocator.h index 736ae02373e9..f3a857283719 100644 --- a/libstdc++-v3/include/ext/array_allocator.h +++ b/libstdc++-v3/include/ext/array_allocator.h @@ -34,7 +34,7 @@ #include #include #include -#ifdef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus >= 201103L #include #endif @@ -115,7 +115,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typedef _Tp value_type; typedef _Array array_type; -#ifdef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus >= 201103L // _GLIBCXX_RESOLVE_LIB_DEFECTS // 2103. std::allocator propagate_on_container_move_assignment typedef std::true_type propagate_on_container_move_assignment;