]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
strerror: drop workaround for SalfordC win32 header bug
authorViktor Szakats <commit@vsz.me>
Sun, 5 Oct 2025 16:36:06 +0000 (18:36 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 5 Oct 2025 17:11:02 +0000 (19:11 +0200)
Follow-up to ccf43ce91dd9a56f30a4029377126e4c83c7f08a #15957

Closes #18857

lib/strerror.c

index cf0876564f37a14db5facc60b1930f315abd448e..47c657211418f5571d6933c8dfedc389746e7749 100644 (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";