]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows port: missing syscalls.selects in stats when USE_SELECT_WIN32 is defined.
authorserassio <>
Mon, 28 Aug 2006 15:53:51 +0000 (15:53 +0000)
committerserassio <>
Mon, 28 Aug 2006 15:53:51 +0000 (15:53 +0000)
src/stat.cc

index e7dcd0b0edb51397fc6104f143dbfc98e6474760..048856f8ffba3b161d88bb361cfa9ad40778abe5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: stat.cc,v 1.397 2006/08/07 02:28:22 robertc Exp $
+ * $Id: stat.cc,v 1.398 2006/08/28 09:53:51 serassio Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -942,7 +942,7 @@ statAvgDump(StoreEntry * sentry, int minutes, int hours)
 
     storeAppendPrintf(sentry, "syscalls.polls = %f/sec\n", XAVG(syscalls.polls));
 #endif
-#if USE_SELECT
+#if defined(USE_SELECT) || defined(USE_SELECT_WIN32)
 
     storeAppendPrintf(sentry, "syscalls.selects = %f/sec\n", XAVG(syscalls.selects));
 #endif