فهرست منبع

* 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 -
joost 5 سال پیش
والد
کامیت
171142a724
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      compiler/i386/cpunode.pas
  2. 2 2
      compiler/options.pas

+ 2 - 2
compiler/i386/cpunode.pas

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

+ 2 - 2
compiler/options.pas

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