瀏覽代碼

* Improved FPC version check when to use WaitOnExit().

git-svn-id: trunk@33301 -
yury 9 年之前
父節點
當前提交
a1b8c0f9e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/utils/redir.pp

+ 1 - 1
tests/utils/redir.pp

@@ -1093,7 +1093,7 @@ begin
     P.InheritHandles:=(execinheritshandles in flags);
 
     P.Execute;
-{$ifdef VER3_0}
+{$if FPC_FULLVERSION < 30100}
 {$ifdef Windows}
     WaitForSingleObject(P.ProcessHandle,max_count);
     counter:=max_count;