platform_bionic/libc/include/android
Peter Collingbourne 08b968b282 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
2022-03-24 11:11:11 -07:00
..
api-level.h Add API level define for T. 2021-09-08 14:57:46 -07:00
dlext.h linker: allow using reserved space for multiple libraries. 2019-02-20 17:29:36 -05:00
fdsan.h More cleanup for #inclusivefixit. 2020-07-31 10:35:03 -07:00
legacy_errno_inlines.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
legacy_fenv_inlines_arm.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
legacy_signal_inlines.h Avoid usage of LONG_BIT in signal headers. 2022-03-24 11:11:11 -07:00
legacy_stdlib_inlines.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
legacy_sys_mman_inlines.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
legacy_sys_stat_inlines.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
legacy_sys_statvfs_inlines.h Support statvfs on API levels before 19. 2019-08-29 21:57:58 -07:00
legacy_sys_wait_inlines.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
legacy_termios_inlines.h Consistent <termios.h> behavior on all API levels. 2020-01-09 16:42:15 -08:00
legacy_threads_inlines.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
legacy_unistd_inlines.h Make swab(3) inline prior to API 28. 2020-08-07 13:10:51 -07:00
set_abort_message.h Another round of documentation. 2018-10-04 16:35:13 -07:00
versioning.h Fix copy pasta in guard macro for weak symbols. 2022-01-07 16:06:54 -08:00