commit | 8c7baf922e28b6ad840431ca6879c6596056c1cc | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Feb 04 00:01:00 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Feb 04 00:01:00 2022 +0000 |
tree | 8a06fd879dbc0d82651173c641e589fc9f90ea85 | |
parent | 4ec18cd970cee4c87e1483f3e89b8f8f4da32c67 [diff] | |
parent | a4a14a3a9c1320c07fe2aef52ae182cbba49d46d [diff] |
Fix building libprocinfo against musl am: a4a14a3a9c Original change: https://android-review.googlesource.com/c/platform/system/libprocinfo/+/1970019 Change-Id: Ie3a9b685fbf83224a9663cd853efff5005133c1d
diff --git a/process_test.cpp b/process_test.cpp index 58a1546..0f25f92 100644 --- a/process_test.cpp +++ b/process_test.cpp
@@ -35,7 +35,7 @@ using namespace std::chrono_literals; -#if !defined(__BIONIC__) +#if defined(__GLIBC__) #include <syscall.h> static pid_t gettid() { return syscall(__NR_gettid);