瀏覽代碼

* Restrict use of postw32 external utility to
win32/wdosx target systems.

git-svn-id: trunk@17929 -

pierre 14 年之前
父節點
當前提交
d1a6ef9cd9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/systems/t_win.pas

+ 2 - 1
compiler/systems/t_win.pas

@@ -1656,7 +1656,8 @@ implementation
              cmdstr:=cmdstr+' --version '+dllversion;
            cmdstr:=cmdstr+' --input '+maybequoted(fn);
            cmdstr:=cmdstr+' --stack '+tostr(stacksize);
-           DoExec(FindUtil(utilsprefix+'postw32'),cmdstr,false,false);
+           if target_info.system in [system_i386_win32, system_i386_wdosx] then
+             DoExec(FindUtil(utilsprefix+'postw32'),cmdstr,false,false);
            postprocessexecutable:=true;
            exit;
          end;