commit | 253445ce3ad507f41c61ebf0f829f75ee2c37509 | [log] [tgz] |
---|---|---|
author | Hao Chen <chenhaosjtuacm@google.com> | Tue Jul 18 18:46:34 2023 +0000 |
committer | Hao Chen <chenhaosjtuacm@google.com> | Tue Jul 18 19:52:19 2023 +0000 |
tree | e5065d268b1c8f1f009192cfbc9ef2692aa8a5b7 | |
parent | 38b572c9e5ead951abfc36bce559077826ab0d8d [diff] |
threads.h: avoid defining gettid on glibc >= 2.30 The issue in https://bugs.chromium.org/p/chromium/issues/detail?id=1182060 also exists on glibc 2.30 and 2.31 since `gettid` was Introduced in glibc 2.30. See https://man7.org/linux/man-pages/man2/gettid.2.html Bug: 285204695 Test: Build Change-Id: I7e534edf8c0a20c415232bcfffabbf2c1d6eec98