summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.corp-partner.google.com>2021-03-01 20:04:37 +0200
committerJim Pollock <jmpollock@google.com>2021-03-05 09:55:15 +0000
commita74215866755cac849a8c626e77e2ae7fd411d95 (patch)
tree917a6d6ff3258d1e12034f053e7b33b9c92fbd9e /libutils/Unicode_test.cpp
parent3aab337293a71c04717edbcee1b95da4f26c31f1 (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/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions