X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=w32svrapi.c;h=908a6ffa56b12d56e93f78863f651f308cb1a4e0;hp=ce4994c53d6c7f25a8f75103e9494ec8bcf2bea9;hb=632265d25748a38a7da9d43be16170614d649ad9;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/w32svrapi.c b/w32svrapi.c index ce4994c5..908a6ffa 100644 --- a/w32svrapi.c +++ b/w32svrapi.c @@ -1,4 +1,4 @@ -const char w32_svrapi_rcs[] = "$Id: w32svrapi.c,v 1.4 2011/04/19 13:00:47 fabiankeil Exp $"; +const char w32_svrapi_rcs[] = "$Id: w32svrapi.c,v 1.5 2011/09/04 11:10:56 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/w32svrapi.c,v $ @@ -785,6 +785,9 @@ static void WINAPI privoxy_w32_service_start(DWORD dw, LPSTR* pszArgs) w32_set_service_status(hSrv_status, &srv_status); #ifndef FEATURE_PTHREAD + /* NOTE: a cygwin cross-compiler build for --host=i686-w64-mingw32 must disable POSIX threading - eg + * ./configure --host=i686-w64-mingw32 --disable-pthread + */ child_id = _beginthread(w32_service_listen_loop, 0, NULL); if (child_id > 0) #else