diff options
author | Adrian Ratiu <adrian.ratiu@collabora.corp-partner.google.com> | 2021-03-01 20:04:37 +0200 |
---|---|---|
committer | Jim Pollock <jmpollock@google.com> | 2021-03-05 09:55:15 +0000 |
commit | a74215866755cac849a8c626e77e2ae7fd411d95 (patch) | |
tree | 917a6d6ff3258d1e12034f053e7b33b9c92fbd9e /libutils/ProcessCallStack_fuzz.cpp | |
parent | 3aab337293a71c04717edbcee1b95da4f26c31f1 (diff) |
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
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions