--- parser3/src/main/pa_socks.C 2002/02/08 08:30:16 1.13 +++ parser3/src/main/pa_socks.C 2002/09/13 11:08:18 1.17 @@ -3,14 +3,14 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - $Id: pa_socks.C,v 1.13 2002/02/08 08:30:16 paf Exp $ */ +static const char* IDENT_SOCKS_C="$Date: 2002/09/13 11:08:18 $"; + #define NO_UNISTD_H #include "pa_config_includes.h" -#ifndef HAVE_SYS_SELECT_H +#ifdef HAVE_WINSOCK_H #include "pa_exception.h" #include "pa_socks.h" @@ -27,7 +27,7 @@ void init_socks(Pool& pool) { if ( err != 0 ) { /* Tell the user that we could not find a usable */ /* WinSock DLL. */ - throw Exception(0, 0, + throw Exception(0, 0, "can not WSAStartup, err=%d", err);