aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-12-07 12:13:59 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2024-08-01 21:56:56 +0100
commit3a817a4a5a6d94da9127af3be9f84a74e3076ee2 (patch)
tree4aa05f69785ab1dc9656c72b5ebcaaad618d378e /gcc
parent283f6e24c6b5c8a1b35003b27bfcad46af25a859 (diff)
downloadgcc-3a817a4a5a6d94da9127af3be9f84a74e3076ee2.zip
gcc-3a817a4a5a6d94da9127af3be9f84a74e3076ee2.tar.gz
gcc-3a817a4a5a6d94da9127af3be9f84a74e3076ee2.tar.bz2
libstdc++: Remove unnecessary uses of <stdint.h>
We don't need to include all of <stdint.h> when we only need uintptr_t from it. By using GCC's internal macro we avoid unnecessarily declaring everything in <stdint.h>. This helps users to avoid accidentally relying on those names being declared without explicitly including the header. libstdc++-v3/ChangeLog: * include/bits/align.h (align, assume_aligned): Use __UINTPTR_TYPE__ instead of uintptr_t. Do not include <stdint.h>. * include/bits/atomic_base.h (__atomic_ref): Likewise. * include/bits/atomic_wait.h (__waiter_pool_base::_S_for): Likewise. * include/std/atomic: Include <cstdint>.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions