* ensure that exitcode is 0 at start

git-svn-id: trunk@3144 -
This commit is contained in:
florian 2006-04-04 20:57:04 +00:00
parent a69ae7ca34
commit 6df561bd95

View File

@ -398,6 +398,7 @@ procedure Exe_entry;[public,alias:'_FPC_EXE_Entry'];
install_exception_handlers;
{ This strange construction is needed to solve the _SS problem
with a smartlinked syswin32 (PFV) }
ExitCode:=0;
asm
{ allocate space for an exception frame }
pushl $0