diff options
Diffstat (limited to 'src/sig_handler.c')
-rw-r--r-- | src/sig_handler.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/sig_handler.c b/src/sig_handler.c index ca2e18f..69dc0a7 100644 --- a/src/sig_handler.c +++ b/src/sig_handler.c @@ -36,6 +36,8 @@ #include "datatypes.h" #include "log.h" + +#ifndef _MSC_VER #include <signal.h> #include <unistd.h> #include <fcntl.h> @@ -157,3 +159,21 @@ void signal_stop() close(sig_pipe_fds[0]); close(sig_pipe_fds[1]); } +#else +int signal_init() +{ + // nothing yet + return 0; +} + +int signal_handle() +{ + // nothing yet + return 0; +} + +void signal_stop() +{ + // nothing yet +} +#endif
\ No newline at end of file |