platform_system_core/libcutils/include/cutils
Adrian Ratiu a742158667 threads.h: avoid defining gettid on glibc >= 2.32
Glibc >=2.32 exposes a gettid() which clashes with libcutils
thread.h, so add a check to not expose it if building against
newer glibc (ChromiumOS will still use glibc 2.27 besides 2.32).

Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1182060
Test: Builds without errors on both glibc 2.32 and 2.27.

Change-Id: Ib71fa1bc9fa185e3668002407dbed05a80c87740
2021-03-05 09:55:15 +00:00
..
android_filesystem_config.h Move android_filesystem_config.h => fs_config.h 2017-08-03 17:20:27 +00:00
android_get_control_file.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
android_reboot.h bootstat: enhance last reboot reason property with file backing 2020-02-14 13:24:16 -08:00
ashmem.h Fix cutils/ashmem.h copyright header. 2020-04-28 09:28:29 -07:00
atomic.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
bitops.h Remove unused cruft from <cutils/bitops.h>. 2017-04-29 10:22:40 -07:00
compiler.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
config_utils.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
fs.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
hashmap.h libcutils: remove some unused API. 2018-07-11 14:27:32 -07:00
iosched_policy.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
klog.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
list.h Fix misc-macro-parentheses warnings in system/core. 2017-08-01 22:12:57 +00:00
log.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
memory.h [MemInit] Remove process_disable_memory_mitigations 2021-01-20 16:07:49 -08:00
misc.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
multiuser.h Allocate a GID range for external cache files. 2017-04-17 14:50:27 -06:00
native_handle.h Update comments on native_handle_create. 2019-03-06 14:22:10 +01:00
partition_utils.h Start using new C++ Fstab class widely 2018-12-12 17:08:09 +00:00
properties.h libcutils: reimplement system property functions with libbase. 2020-05-21 16:20:16 -07:00
qtaguid.h Redirect qtaguid native call to netd fwmark client 2017-11-09 18:02:22 -08:00
record_stream.h Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
sched_policy.h DO NOT MERGE: Revert "Revert "libcutils: Move sched_policy functions into libprocessgroup"" 2019-01-25 16:49:09 +00:00
sockets.h libcutils: remove unused socket_set_receive_timeout(). 2019-11-08 15:21:39 -08:00
str_parms.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
threads.h threads.h: avoid defining gettid on glibc >= 2.32 2021-03-05 09:55:15 +00:00
trace.h Do not check for debuggable / profilable for app tracing. 2021-02-12 16:54:51 +00:00
uevent.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00