diff options
author | Christian Pointner <equinox@anylike.org> | 2010-01-03 20:56:45 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anylike.org> | 2010-01-03 20:56:45 +0000 |
commit | 370eafb0755fbcd4fea3bad7aba628d6855e9c4c (patch) | |
tree | 9be68d2a308b36cff013f53711af845738ce01e2 | |
parent | added missing include (diff) |
added dummy signal handler for windows
-rw-r--r-- | src/sig_handler.c | 20 | ||||
-rw-r--r-- | src/win32/anylike.suo | bin | 17920 -> 17920 bytes | |||
-rw-r--r-- | 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 <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 diff --git a/src/win32/anylike.suo b/src/win32/anylike.suo Binary files differindex 384b552..83681ee 100644 --- a/src/win32/anylike.suo +++ b/src/win32/anylike.suo 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"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@@ -126,7 +126,7 @@ TreatWChar_tAsBuiltInType="false"
WarningLevel="3"
DebugInformationFormat="3"
- CompileAs="2"
+ CompileAs="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@@ -183,22 +183,6 @@ <File
RelativePath="..\anylike_lua_bytecode.c"
>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- DisableSpecificWarnings="C4309"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- DisableSpecificWarnings="C4309"
- />
- </FileConfiguration>
</File>
<File
RelativePath="..\l_crypt.c"
|