diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sockpp/android-strerror_r.diff | |
Diffstat (limited to 'vcpkg/ports/sockpp/android-strerror_r.diff')
| -rw-r--r-- | vcpkg/ports/sockpp/android-strerror_r.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/sockpp/android-strerror_r.diff b/vcpkg/ports/sockpp/android-strerror_r.diff new file mode 100644 index 0000000..b594dbc --- /dev/null +++ b/vcpkg/ports/sockpp/android-strerror_r.diff @@ -0,0 +1,13 @@ +diff --git a/src/exception.cpp b/src/exception.cpp +index 72aae7e..7a56c60 100644 +--- a/src/exception.cpp ++++ b/src/exception.cpp +@@ -66,7 +66,7 @@ string sys_error::error_str(int err) + buf, sizeof(buf), NULL); + #else + #ifdef _GNU_SOURCE +- #if !defined(__GLIBC__) ++ #if !defined(__GLIBC__) && !defined(__ANDROID__) + // use the XSI standard behavior. + int e = strerror_r(err, buf, sizeof(buf)); + auto s = strerror(e); |