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