* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#ifndef WIN32SERVICE_H
-#define WIN32SERVICE_H
+#pragma once
+#ifdef _WIN32
/* Hook for win32service.cpp to exit properly with the service specific error code */
-void SetServiceStopped(int status);
+void SetServiceStopped(unsigned long dwStatus);
/* Marks the service as running, not called until the config is parsed */
void SetServiceRunning();