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;