* Make Win32 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN32_SEH. Mantis #12974.

git-svn-id: trunk@43830 -
This commit is contained in:
joost 2020-01-01 14:43:57 +00:00
parent 1f5efe2a95
commit 171142a724
2 changed files with 4 additions and 4 deletions

View File

@ -55,9 +55,9 @@ unit cpunode;
n386mem, n386mem,
n386set, n386set,
n386inl, n386inl,
{$ifdef TEST_WIN32_SEH} {$ifndef DISABLE_WIN32_SEH}
n386flw, n386flw,
{$endif TEST_WIN32_SEH} {$endif not DISABLE_WIN32_SEH}
n386mat, n386mat,
{ symtable } { symtable }
symcpu, symcpu,

View File

@ -4453,10 +4453,10 @@ begin
def_system_macro('FPC_USE_WIN64_SEH'); def_system_macro('FPC_USE_WIN64_SEH');
{$endif DISABLE_WIN64_SEH} {$endif DISABLE_WIN64_SEH}
{$ifdef TEST_WIN32_SEH} {$ifndef DISABLE_WIN32_SEH}
if target_info.system=system_i386_win32 then if target_info.system=system_i386_win32 then
def_system_macro('FPC_USE_WIN32_SEH'); def_system_macro('FPC_USE_WIN32_SEH');
{$endif TEST_WIN32_SEH} {$endif not DISABLE_WIN32_SEH}
{$ifdef ARM} {$ifdef ARM}
{ define FPC_DOUBLE_HILO_SWAPPED if needed to properly handle doubles in RTL } { define FPC_DOUBLE_HILO_SWAPPED if needed to properly handle doubles in RTL }