strerror: drop workaround for SalfordC win32 header bug

Follow-up to ccf43ce91d #15957

Closes #18857
This commit is contained in:
Viktor Szakats 2025-10-05 18:36:06 +02:00
parent 0833121305
commit 1ae5e44eff
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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";