* don't use $MINSTACKSIZE and $MAXSTACKSIZE on non-Windows instead of disabling the warning

This commit is contained in:
Sven/Sarah Barth 2024-12-31 21:44:23 +01:00
parent 72a3729ca0
commit 2a6fb32974

View File

@ -219,10 +219,7 @@ program pp;
{$endif support_mmx}
{ Don't care about minstacksize or maxstacksize not beeing supported by current OS }
{$WARN 2077 OFF}
{$WARN 2078 OFF}
{$ifdef windows}
{$ifdef win32}
{ 256 MB stack }
{ under windows the stack can't grow }
@ -238,6 +235,7 @@ program pp;
{$MINSTACKSIZE 1000000}
{$endif win64}
{$endif win32}
{$endif windows}
uses
{$ifdef heaptrc}