summaryrefslogtreecommitdiff
path: root/src/signalController.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-02-06 18:12:12 +0000
committerChristian Pointner <equinox@anytun.org>2010-02-06 18:12:12 +0000
commit346ef768b1b911a89e3d9bc1b03b442fd85d3739 (patch)
treeb9ff225ea1093c155adcac548a1387fd5bcd860e /src/signalController.h
parentremoved NO_EXEC (diff)
introduced posixDaemon as DaemonService for posix targets
some dependency cleanups
Diffstat (limited to 'src/signalController.h')
-rw-r--r--src/signalController.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/signalController.h b/src/signalController.h
index fdc778a..8a82c9e 100644
--- a/src/signalController.h
+++ b/src/signalController.h
@@ -38,11 +38,15 @@
#include <boost/function.hpp>
#include "threadUtils.hpp"
+
+#ifndef _MSC_VER
+#include "daemonService.h"
+#else
#ifdef WIN_SERVICE
#include "win32/winService.h"
-typedef class WinService DaemonService;
#else
-typedef void DaemonService;
+#include "nullDaemon.h"
+#endif
#endif
#define SIGERROR -1