aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf_cu_to_module.cc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-03-16 23:08:02 -0700
committerMike Frysinger <vapier@chromium.org>2020-03-17 06:30:52 +0000
commit23e6fbf571a6638ce9642fc1f50baf1af0f54268 (patch)
treec3ec1270f8769b6baf2eacbc029de6adbd9b6603 /src/common/dwarf_cu_to_module.cc
parentRoll src/src/third_party/lss/ f70e2f164..fd00dbbd0 (2 commits) (diff)
downloadbreakpad-23e6fbf571a6638ce9642fc1f50baf1af0f54268.tar.xz
Use ULONG_MAX instead of __WORDSIZE to determine native ELF architecture
__WORDSIZE is an internal libc definition. Instead, we can use ULONG_MAX from limits.h, whose value corresponds to the machine's native word size. This allows us to remove the fallback definition of __WORDSIZE in the Android compatibility headers. Bug: google-breakpad:631 Change-Id: I7b9e6f3b2121f78ccad9e32bf26acac518aefd8f Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2107100 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'src/common/dwarf_cu_to_module.cc')
0 files changed, 0 insertions, 0 deletions