Преглед на файлове

Do not use .hidden for systems_wince, as is done for systems_windows

git-svn-id: trunk@45756 -
pierre преди 5 години
родител
ревизия
87bf6a4b56
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/aggas.pas

+ 1 - 1
compiler/aggas.pas

@@ -1629,7 +1629,7 @@ implementation
         { on Windows/(PE)COFF, global symbols are hidden by default: global
         { on Windows/(PE)COFF, global symbols are hidden by default: global
           symbols that are not explicitly exported from an executable/library,
           symbols that are not explicitly exported from an executable/library,
           become hidden }
           become hidden }
-        if target_info.system in systems_windows then
+        if (target_info.system in (systems_windows+systems_wince)) then
           exit;
           exit;
         if target_info.system in systems_darwin then
         if target_info.system in systems_darwin then
           writer.AsmWrite(#9'.private_extern ')
           writer.AsmWrite(#9'.private_extern ')