android_system_core/libcutils/include
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
..
cutils threads.h: avoid defining gettid on glibc >= 2.32 2021-03-05 09:55:15 +00:00
private Update language to comply with Android's inclusive language guidance 2020-07-31 16:36:06 -06:00