From 517252a4f83c169c941bf9eca8d60a61a721850d Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 10 Sep 2008 01:38:02 +1200 Subject: [PATCH] Fix compile error on Cygwin --- src/WinSvc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WinSvc.cc b/src/WinSvc.cc index daae1f758d..c53df697c0 100755 --- a/src/WinSvc.cc +++ b/src/WinSvc.cc @@ -66,10 +66,10 @@ static void Win32SockCleanup(void); SQUIDCEXTERN LPCRITICAL_SECTION dbg_mutex; void WIN32_ExceptionHandlerCleanup(void); static int s_iInitCount = 0; -#endif +static HANDLE NotifyAddrChange_thread = INVALID_HANDLE_VALUE; +#endif /* _SQUID_MSWIN_ */ static int Squid_Aborting = 0; -static HANDLE NotifyAddrChange_thread = INVALID_HANDLE_VALUE; #undef NotifyAddrChange typedef DWORD(WINAPI * PFNotifyAddrChange) (OUT PHANDLE, IN LPOVERLAPPED); @@ -473,7 +473,7 @@ WIN32_IpAddrChangeMonitorInit() } return status; } -#endif +#endif /* _SQUID_MSWIN_ */ int WIN32_Subsystem_Init(int * argc, char *** argv) { -- 2.47.2