From 370eafb0755fbcd4fea3bad7aba628d6855e9c4c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 3 Jan 2010 20:56:45 +0000 Subject: added dummy signal handler for windows --- src/sig_handler.c | 20 ++++++++++++++++++++ src/win32/anylike.suo | Bin 17920 -> 17920 bytes src/win32/anylike.vcproj | 20 ++------------------ 3 files changed, 22 insertions(+), 18 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 #include #include @@ -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 diff --git a/src/win32/anylike.suo b/src/win32/anylike.suo index 384b552..83681ee 100644 Binary files a/src/win32/anylike.suo and b/src/win32/anylike.suo differ diff --git a/src/win32/anylike.vcproj b/src/win32/anylike.vcproj index 6816831..3240d64 100644 --- a/src/win32/anylike.vcproj +++ b/src/win32/anylike.vcproj @@ -51,7 +51,7 @@ TreatWChar_tAsBuiltInType="false" WarningLevel="3" DebugInformationFormat="4" - CompileAs="2" + CompileAs="1" /> - - - - - -