]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows Port: Windows select loop must be equivalent to Unix select loop.
authorserassio <>
Mon, 18 Feb 2008 02:42:02 +0000 (02:42 +0000)
committerserassio <>
Mon, 18 Feb 2008 02:42:02 +0000 (02:42 +0000)
src/main.cc

index 9b2c56e28375dc06c974d20b7d30a9aa20039dad..887e1fe2f86bc54623f826180138d062ae7e1c60 100644 (file)
@@ -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
 #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