소스 검색

* Actually use introduced cross-platform constant...

git-svn-id: trunk@39540 -
michael 7 년 전
부모
커밋
e13f069b17
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-net/src/ssockets.pp

+ 1 - 1
packages/fcl-net/src/ssockets.pp

@@ -1125,7 +1125,7 @@ begin
 {$IFDEF HAVENONBLOCKING}
   if (ConnectTimeOut>0) then
     begin
-    if IsError and (Err=ESysEINPROGRESS) then
+    if IsError and (Err=ErrWouldBlock) then
       begin
       TimeOutResult:=CheckSocketConnectTimeout(Handle, @FDS, @TimeV);
       IsError:=(TimeOutResult<>ctrOK);