浏览代码

* generate the package stub for all Windows and NativeNT targets

git-svn-id: trunk@35373 -
svenbarth 8 年之前
父节点
当前提交
cc42bb8a7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/pmodules.pas

+ 1 - 1
compiler/pmodules.pas

@@ -1666,7 +1666,7 @@ type
              { Note: all contained units are considered as used }
            end;
 
-         if target_info.system in systems_windows then
+         if target_info.system in systems_all_windows+systems_nativent then
            begin
              main_procinfo:=create_main_proc('_DLLMainCRTStartup',potype_pkgstub,current_module.localsymtable);
              main_procinfo.code:=generate_pkg_stub(main_procinfo.procdef);