commit | ce784bc8129a45e7212fe0798f6081ad64d26f20 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Feb 02 19:50:13 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Feb 02 19:50:13 2022 +0000 |
tree | fbf9ae2364b26a3edb0cb18d1e86672a41f3d243 | |
parent | 6b846b3d5a0e5290fd25f3c6e7e622bc940e6f36 [diff] | |
parent | 4fc781717e0964d30eacb76a7d5398617ee14120 [diff] |
Merge "Use posix strerror_r for musl"
diff --git a/config.h b/config.h index aa23c6a..8f73307 100644 --- a/config.h +++ b/config.h
@@ -59,7 +59,9 @@ /* #undef HAVE_GETSPNAM */ /* Define to 1 if you have a GNU-style `strerror_r' function. */ -#define HAVE_GNU_STRERROR_R /**/ +#ifndef ANDROID_HOST_MUSL +#define HAVE_GNU_STRERROR_R 1 +#endif /* on HP-UX 10.20 or later */ /* #undef HAVE_HPUX10_20_OR_LATER */