summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2022-03-23 18:07:26 -0700
committerPeter Collingbourne <pcc@google.com>2022-03-24 11:11:11 -0700
commit08b968b282756b44a4980a9417909c6710cdaafe (patch)
tree516d23eccdae7200fbaaa3eafb9e0e3e590af881 /libc/malloc_debug/malloc_debug.cpp
parentacd91c22e934732646d70e0390973a273bf6c0ec (diff)
Avoid usage of LONG_BIT in signal headers.
Clang has its own limits.h which is ahead of ours on the inclusion path. This header uses include_next to include our header, but only in hosted mode. This means that in freestanding mode we don't get our limits.h macro definitions, including LONG_BIT. This ends up causing our signal.h to produce errors when included in freestanding mode on 32-bit platforms. Fix the errors by replacing usage of LONG_BIT with (8 * sizeof(long)) in the signal headers. Change-Id: I18ec7b6876d5f862beae09f0c011128eef97c869
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions