From: Viktor Szakats Date: Sun, 5 Oct 2025 16:36:06 +0000 (+0200) Subject: strerror: drop workaround for SalfordC win32 header bug X-Git-Tag: rc-8_17_0-2~246 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ae5e44effe36bbe136439735de49b1e8dbaca0b;p=thirdparty%2Fcurl.git strerror: drop workaround for SalfordC win32 header bug Follow-up to ccf43ce91dd9a56f30a4029377126e4c83c7f08a #15957 Closes #18857 --- diff --git a/lib/strerror.c b/lib/strerror.c index cf0876564f..47c6572114 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -698,11 +698,9 @@ get_winsock_error(int err, char *buf, size_t len) case WSAEREMOTE: p = "Remote error"; break; -#ifdef WSAEDISCON /* missing in SalfordC! */ case WSAEDISCON: p = "Disconnected"; break; -#endif /* Extended Winsock errors */ case WSASYSNOTREADY: p = "Winsock library is not ready";