From: serassio <> Date: Mon, 18 Feb 2008 02:42:02 +0000 (+0000) Subject: Windows Port: Windows select loop must be equivalent to Unix select loop. X-Git-Tag: BASIC_TPROXY4~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cdb47bceaf8ac8babc8d06859176ea877a91101;p=thirdparty%2Fsquid.git Windows Port: Windows select loop must be equivalent to Unix select loop. --- diff --git a/src/main.cc b/src/main.cc index 9b2c56e283..887e1fe2f8 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.457 2008/02/12 23:57:47 rousskov Exp $ + * $Id: main.cc,v 1.458 2008/02/17 19:42:02 serassio Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -62,10 +62,7 @@ #if USE_POLL #include "comm_poll.h" #endif -#if USE_SELECT -#include "comm_select.h" -#endif -#if USE_SELECT_WIN32 +#if defined(USE_SELECT) || defined(USE_SELECT_WIN32) #include "comm_select.h" #endif #include "SquidTime.h" @@ -934,7 +931,7 @@ mainInitialize(void) commPollRegisterWithCacheManager(manager); #endif -#ifdef USE_SELECT +#if defined(USE_SELECT) || defined(USE_SELECT_WIN32) commSelectRegisterWithCacheManager(manager); #endif