Kaynağa Gözat

i386-win32 also has indirect entry information, so enable this in the compiler and disable the corresponding define in system.pp

git-svn-id: trunk@33985 -
svenbarth 9 yıl önce
ebeveyn
işleme
638339812e
2 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 1 1
      compiler/systems.pas
  2. 3 0
      rtl/win32/system.pp

+ 1 - 1
compiler/systems.pas

@@ -319,7 +319,7 @@ interface
        systems_indirect_var_imports = systems_all_windows+[system_i386_nativent];
 
        { all systems that support indirect entry information }
-       systems_indirect_entry_information = systems_darwin;
+       systems_indirect_entry_information = systems_darwin+[system_i386_win32];
 
        { all systems for which weak linking has been tested/is supported }
        systems_weak_linking = systems_darwin + systems_solaris + systems_linux + systems_android;

+ 3 - 0
rtl/win32/system.pp

@@ -20,7 +20,10 @@ interface
   {$define SYSTEMEXCEPTIONDEBUG}
 {$endif SYSTEMDEBUG}
 
+{$ifdef VER3_0}
+{ 3.1.1+ do not require this anymore }
 {$define FPC_HAS_INDIRECT_ENTRY_INFORMATION}
+{$endif VER3_0}
 
 {$ifdef cpui386}
   {$define Set_i386_Exception_handler}