From: Adam Dickmeiss Date: Mon, 17 Mar 2014 11:28:59 +0000 (+0100) Subject: frontend_net: fix compilation on Windows (SIGUSR1 does not exist) X-Git-Tag: v1.4.6~7 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=414a181466c1f86c049758a2f99e195af6287951;p=metaproxy-moved-to-github.git frontend_net: fix compilation on Windows (SIGUSR1 does not exist) --- diff --git a/src/filter_frontend_net.cpp b/src/filter_frontend_net.cpp index 9313411..6c70880 100644 --- a/src/filter_frontend_net.cpp +++ b/src/filter_frontend_net.cpp @@ -604,6 +604,7 @@ void yf::FrontendNet::process(mp::Package &package) const yaz_log(YLOG_LOG, "metaproxy received SIGTERM"); break; /* stop right away */ } +#ifndef WIN32 if (m_p->m_stop_signo == SIGUSR1) { /* just stop listeners and cont till all sessions are done*/ yaz_log(YLOG_LOG, "metaproxy received SIGUSR1"); @@ -616,6 +617,7 @@ void yf::FrontendNet::process(mp::Package &package) const yaz_daemon_stop(); } } +#endif int no = m_p->mySocketManager.getNumberOfObservers(); if (no <= 1) break;