diff options
author | darkvater <darkvater@openttd.org> | 2004-11-14 12:37:23 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-11-14 12:37:23 +0000 |
commit | 8946e92468db588a1a0d39da2b9a53523e091d10 (patch) | |
tree | 845a99748fd90e9810f4da21a9b01f0f6534a515 /ttd.vcproj | |
parent | 989289faddc4b1f7dee97defb7d80e6d1cea0465 (diff) | |
download | openttd-8946e92468db588a1a0d39da2b9a53523e091d10.tar.xz |
(svn r586) -Fix: [1066114] Code error in win32.c Thanks Shai
-Fix: ttd.vcproj change to hard-set compilation as C, as well as adding WITH_SDL to debug mode. If you don't have SDL just remove that.
Diffstat (limited to 'ttd.vcproj')
-rw-r--r-- | ttd.vcproj | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ttd.vcproj b/ttd.vcproj index cea1bef5e..5b191325f 100644 --- a/ttd.vcproj +++ b/ttd.vcproj @@ -46,7 +46,8 @@ BrowseInformation="1"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="3"/>
+ DebugInformationFormat="3"
+ CompileAs="1"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@@ -119,7 +120,8 @@ WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="3"
- CallingConvention="1"/>
+ CallingConvention="1"
+ CompileAs="1"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
@@ -170,6 +172,7 @@ CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
+ AdditionalOptions="/D "WITH_SDL""
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_PNG"
BasicRuntimeChecks="3"
@@ -183,7 +186,8 @@ WarningLevel="3"
WarnAsError="TRUE"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"/>
+ DebugInformationFormat="4"
+ CompileAs="1"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
|