diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7c583dd726ecdec747deef9a674594afda881824..ecf1064b9cf765db24a9d473063c5f31ff084f7f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2018-10-24 François Dumont <fdumont@gcc.gnu.org> + + * include/c_global/cstddef: Add versioned namespace. + 2018-10-23 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/87704 diff --git a/libstdc++-v3/include/c_global/cstddef b/libstdc++-v3/include/c_global/cstddef index 0ca3b82338ad0d841eb6012477ea6a093a21b925..b6d4a13c0b16a11132aabebc2b7dba41c2ba3b16 100644 --- a/libstdc++-v3/include/c_global/cstddef +++ b/libstdc++-v3/include/c_global/cstddef @@ -62,6 +62,7 @@ namespace std #if __cplusplus >= 201703L namespace std { +_GLIBCXX_BEGIN_NAMESPACE_VERSION #define __cpp_lib_byte 201603 /// std::byte @@ -187,6 +188,7 @@ namespace std to_integer(__byte_op_t<_IntegerType> __b) noexcept { return _IntegerType(__b); } +_GLIBCXX_END_NAMESPACE_VERSION } // namespace std #endif // C++17 } // extern "C++"