From 35f753d9e4b9d85cc712262a751729688e32aad6 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 16 Oct 2009 18:35:19 +0000 Subject: Fix compile under MSVC (thanks entryway). Subversion-branch: /branches/raven-branch Subversion-revision: 1718 --- msvc/doom.vcproj | 10 +++++++++- msvc/heretic.vcproj | 6 +++++- msvc/hexen.vcproj | 2 ++ msvc/server.vcproj | 10 +++++++++- msvc/setup.vcproj | 10 +++++++++- 5 files changed, 34 insertions(+), 4 deletions(-) (limited to 'msvc') diff --git a/msvc/doom.vcproj b/msvc/doom.vcproj index 2c3eb38e..c5714eea 100644 --- a/msvc/doom.vcproj +++ b/msvc/doom.vcproj @@ -42,7 +42,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=".;..\src;..\src\doom;..\textscreen;..\pcsound" - PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;PROGRAM_PREFIX="\"chocolate-\""" + PreprocessorDefinitions="WIN32;_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;PROGRAM_PREFIX="\"chocolate-\""" MinimalRebuild="true" ExceptionHandling="0" BasicRuntimeChecks="3" @@ -220,6 +220,10 @@ RelativePath="..\src\i_cdmus.h" > + + @@ -592,6 +596,10 @@ RelativePath="..\src\i_cdmus.c" > + + diff --git a/msvc/heretic.vcproj b/msvc/heretic.vcproj index c005da49..e9dbb0dd 100644 --- a/msvc/heretic.vcproj +++ b/msvc/heretic.vcproj @@ -41,7 +41,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=".;..\src;..\src\doom;..\src\heretic;..\textscreen;..\pcsound" - PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;PROGRAM_PREFIX="\"chocolate-\""" + PreprocessorDefinitions="WIN32;_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;PROGRAM_PREFIX="\"chocolate-\""" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -195,6 +195,10 @@ RelativePath="..\src\i_cdmus.c" > + + diff --git a/msvc/hexen.vcproj b/msvc/hexen.vcproj index c12e799e..12d247d1 100644 --- a/msvc/hexen.vcproj +++ b/msvc/hexen.vcproj @@ -41,6 +41,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=".;..\src;..\src\doom;..\src\heretic;..\textscreen;..\pcsound" + PreprocessorDefinitions="WIN32;_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;PROGRAM_PREFIX="\"chocolate-\""" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -59,6 +60,7 @@ /> + + @@ -243,6 +247,10 @@ RelativePath="..\src\d_mode.h" > + + diff --git a/msvc/setup.vcproj b/msvc/setup.vcproj index cff08ff4..5e2a2efe 100644 --- a/msvc/setup.vcproj +++ b/msvc/setup.vcproj @@ -41,7 +41,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=".;..\src;..\src\doom;..\textscreen" - PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;CHOCOLATESETUP" + PreprocessorDefinitions="WIN32;_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;CHOCOLATESETUP" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -237,6 +237,10 @@ RelativePath="..\setup\txt_mouseinput.c" > + + + +