From 12db20be4e8b0130aba7342a1124eb85e3115822 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Wed, 26 Apr 2006 17:26:22 +0000 Subject: Fixed signed/unsigned convertion errors in Salford-C. #ifdef around WSAEDISCON in strerror.c. --- lib/strerror.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/strerror.c') diff --git a/lib/strerror.c b/lib/strerror.c index b035e6772..faa750856 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -519,10 +519,11 @@ 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"; -- cgit v1.2.3