Browse Source

* Fopefully last fix for non-select platforms

Michaël Van Canneyt 3 years ago
parent
commit
cb22b7a1d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-net/src/ssockets.pp

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

@@ -603,8 +603,8 @@ var
 
 begin
   Result:=False;
-  MaxHandle:=0;
 {$if defined(unix) or defined(windows)}
+  MaxHandle:=0;
   TimeV.tv_usec := (aTimeOut mod 1000) * 1000;
   TimeV.tv_sec := aTimeOut div 1000;
   FillFD(FDR,aRead);