]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Use appropriate feature test macro for std::byte
authorJonathan Wakely <jwakely@redhat.com>
Fri, 11 Oct 2024 12:29:06 +0000 (13:29 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 2 Dec 2024 22:41:41 +0000 (22:41 +0000)
commitd4c402b5177c51f3e7292da776dcf44a63d05196
tree4f8012ca0926f8ea41299dcfbcd468ca434caf34
parent671c22a2e0114149b756efa9c386caf7aaea1d19
libstdc++: Use appropriate feature test macro for std::byte

libstdc++-v3/ChangeLog:

* include/bits/cpp_type_traits.h (__is_byte<byte>): Guard with
__glibcxx_byte macro instead of checking __cplusplus.

(cherry picked from commit 00a87ee76f47d0fa5a10ef982101cb3c3b8e9c99)
libstdc++-v3/include/bits/cpp_type_traits.h