Browse Source

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

git-svn-id: trunk@45756 -
pierre 5 years ago
parent
commit
87bf6a4b56
1 changed files with 1 additions and 1 deletions
  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 ')