From fcf75cdcc756db45abab6ce74b31fa6cd316dde5 Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 17 Jun 2009 17:43:33 +0000 Subject: (svn r16588) -Fix [FS#2978]: set default stack size to 1MB to prevent _chstk crash (MSVC) --- projects/openttd_vs80.vcproj | 8 ++++++++ projects/openttd_vs80.vcproj.in | 8 ++++++++ projects/openttd_vs90.vcproj | 8 ++++++++ projects/openttd_vs90.vcproj.in | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj index a3f3437cf..b301dc3f2 100644 --- a/projects/openttd_vs80.vcproj +++ b/projects/openttd_vs80.vcproj @@ -103,6 +103,8 @@ IgnoreDefaultLibraryNames="" GenerateDebugInformation="true" SubSystem="2" + StackReserveSize="1024" + StackCommitSize="1024" OptimizeReferences="2" OptimizeForWindows98="1" TargetMachine="1" @@ -201,6 +203,8 @@ IgnoreDefaultLibraryNames="LIBCMT.lib" GenerateDebugInformation="true" SubSystem="2" + StackReserveSize="1024" + StackCommitSize="1024" TargetMachine="1" /> @@ -410,6 +416,8 @@ IgnoreDefaultLibraryNames="LIBCMT.lib" GenerateDebugInformation="true" SubSystem="2" + StackReserveSize="1024" + StackCommitSize="1024" TargetMachine="17" /> @@ -410,6 +416,8 @@ IgnoreDefaultLibraryNames="LIBCMT.lib" GenerateDebugInformation="true" SubSystem="2" + StackReserveSize="1024" + StackCommitSize="1024" TargetMachine="17" />