From: serassio <> Date: Mon, 18 Feb 2008 02:41:28 +0000 (+0000) Subject: Windows Port: Windows select loop must be equivalent to Unix select loop. X-Git-Tag: SQUID_3_0_STABLE2~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c932ca4742df2bb93e81ec5e766ea17820075cd4;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 6bb2cd6efc..450081af1d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.451.2.1 2008/02/17 11:32:22 serassio Exp $ + * $Id: main.cc,v 1.451.2.2 2008/02/17 19:41:28 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" @@ -929,7 +926,7 @@ mainInitialize(void) commPollRegisterWithCacheManager(manager); #endif -#ifdef USE_SELECT +#if defined(USE_SELECT) || defined(USE_SELECT_WIN32) commSelectRegisterWithCacheManager(manager); #endif