From: oes Date: Tue, 29 May 2001 11:52:21 +0000 (+0000) Subject: Conditional compilation of w32_socket_error X-Git-Tag: v_2_9_9~464 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=683fe3fb293c8836f4887905b38098cba7ba932c Conditional compilation of w32_socket_error --- diff --git a/errlog.c b/errlog.c index 1c4aee4b..59ea1d87 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,4 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.8 2001/05/26 17:25:14 jongfoster Exp $"; +const char errlog_rcs[] = "$Id: errlog.c,v 1.9 2001/05/28 16:15:17 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -33,6 +33,9 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.8 2001/05/26 17:25:14 jongfoster Ex * * Revisions : * $Log: errlog.c,v $ + * Revision 1.9 2001/05/28 16:15:17 jongfoster + * Improved reporting of errors under Win32. + * * Revision 1.8 2001/05/26 17:25:14 jongfoster * Added support for CLF (Common Log Format) and fixed LOG_LEVEL_LOG * @@ -599,6 +602,7 @@ void log_error(int loglevel, char *fmt, ...) } +#ifdef _WIN32 /********************************************************************* * * Function : w32_socket_strerr @@ -685,6 +689,7 @@ static char * w32_socket_strerr(int errcode, char * tmp_buf) sprintf(tmp_buf, "(error number %d)", errcode); return tmp_buf; } +#endif /* def _WIN32 */ /*