소스 검색

* 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;