platform_bionic/libc/include/bits
Dan Albert eae41f8eeb Fix __VERSIONER_NO_GUARD cases for availability.
libc++ still depends on these being declared even if they are
unavailable. This results in a worse error message (a link error
rather than a compiler diagnostic) if these functions end up being
used, but without the decl headers like libc++'s math.h can't be
included because it refers to an undeclared function.

For the cases where weak symbols aren't being used, don't annotate
these functions with their availability information.

Also need to avoid using __builtin_available for this case because the
NDK doesn't have __isOSVersionAtLeast yet.

__ANDROID_UNGUARDED_AVAILABILITY__ is being used as a proxy for
"building for the NDK" here because we don't have a good signal for
that which works for both the NDK proper and the NDK-in-the-platform
case.

Test: imported into the NDK, built and tested NDK
Bug: None
Change-Id: I9ef3e19a8fa083bca0be47b80dfef7ba52a94866
2021-02-01 12:53:22 -08:00
..
fortify Add a libc wrapper for statx(2). 2020-02-23 11:36:53 -08:00
auxvec.h Make the HWCAP/HWCAP2 constants available from <sys/auxv.h>. 2020-02-24 09:52:14 -08:00
ctype_inlines.h <ctype.h>: inline the ASCII functions. 2020-02-05 08:18:51 -08:00
elf_arm.h Fix arm32/64 dynamic TLS relocations 2018-07-30 23:49:19 -07:00
elf_arm64.h Enable BTI in bionic linker 2020-09-23 17:53:28 -07:00
elf_x86.h Make all the ELF relocation constants available. 2017-04-19 13:28:32 -07:00
elf_x86_64.h Make all the ELF relocation constants available. 2017-04-19 13:28:32 -07:00
epoll_event.h Another round of documentation. 2018-10-04 16:35:13 -07:00
fcntl.h Another round of documentation. 2018-10-04 16:35:13 -07:00
fenv_arm.h Remove ARM/MIPS fenv duplication. 2018-08-30 09:26:43 -07:00
fenv_inlines_arm.h Remove ARM/MIPS fenv duplication. 2018-08-30 09:26:43 -07:00
fenv_x86.h Remove ARM/MIPS fenv duplication. 2018-08-30 09:26:43 -07:00
fenv_x86_64.h Remove ARM/MIPS fenv duplication. 2018-08-30 09:26:43 -07:00
flock.h _FILE_OFFSET_BITS=64 support for fcntl. 2020-01-29 19:36:14 -08:00
flock64.h _FILE_OFFSET_BITS=64 support for fcntl. 2020-01-29 19:36:14 -08:00
get_device_api_level_inlines.h Fix get_device_api_level_inlines.h in versioner 2019-03-20 22:49:38 +08:00
getopt.h Another round of documentation. 2018-10-04 16:35:13 -07:00
glibc-syscalls.h Update to v5.10 kernel headers. 2020-12-14 22:37:59 -08:00
in_addr.h Another round of documentation. 2018-10-04 16:35:13 -07:00
ioctl.h Make android_get_application_target_sdk_version available to the NDK. 2018-11-15 11:07:30 -08:00
ip_mreq_source.h Another round of documentation. 2018-10-04 16:35:13 -07:00
ip_msfilter.h Another round of documentation. 2018-10-04 16:35:13 -07:00
lockf.h Another round of documentation. 2018-10-04 16:35:13 -07:00
mbstate_t.h Another round of documentation. 2018-10-04 16:35:13 -07:00
posix_limits.h Fix bugprone-macro-parentheses warnings 2020-03-04 13:22:05 -08:00
pthread_types.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
sa_family_t.h Another round of documentation. 2018-10-04 16:35:13 -07:00
seek_constants.h Add SEEK_DATA and SEEK_HOLE constants. 2019-05-07 10:03:02 -07:00
signal_types.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
stdatomic.h Cleanup some trivial TODOs. 2020-04-10 11:46:03 -07:00
strcasecmp.h Another round of documentation. 2018-10-04 16:35:13 -07:00
struct_file.h Another round of documentation. 2018-10-04 16:35:13 -07:00
swab.h Make swab(3) inline prior to API 28. 2020-08-07 13:10:51 -07:00
sys_statvfs_inlines.h Stop using __out as a name. 2019-11-08 13:51:12 -08:00
sysconf.h Add _SC_UIO_MAXIOV as a synonym for _SC_IOV_MAX. 2018-10-09 13:56:06 -07:00
termios_inlines.h Add trivial termios tests. 2017-12-14 09:46:50 -08:00
threads_inlines.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
timespec.h Fix timespec.h documentation 2019-08-12 13:34:03 -07:00
wait.h Another round of documentation. 2018-10-04 16:35:13 -07:00
wchar_limits.h Another round of documentation. 2018-10-04 16:35:13 -07:00
wctype.h Fix __VERSIONER_NO_GUARD cases for availability. 2021-02-01 12:53:22 -08:00