Jelajahi Sumber

*wince : build broken

git-svn-id: trunk@4948 -
oro06 19 tahun lalu
induk
melakukan
442560b46d
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      rtl/wince/sockets.pp

+ 2 - 3
rtl/wince/sockets.pp

@@ -287,7 +287,6 @@ begin
   SocketPair:=fpsocketpair(domain,sockettype,protocol,@pair);
 end;
 
-{$ifdef unix}
 { mimic the linux fpWrite/fpRead calls for the file/text socket wrapper }
 function fpWrite(handle : longint;Const bufptr;size : dword) : dword;
 begin
@@ -327,7 +326,7 @@ function fpRead(handle : longint;var bufptr;size : dword) : dword;
      else
        SocketError:=0;
   end;
-{$else}
+
 { mimic the linux fdWrite/fdRead calls for the file/text socket wrapper }
 function fdWrite(handle : longint;Const bufptr;size : dword) : dword;
 begin
@@ -367,7 +366,7 @@ function fdRead(handle : longint;var bufptr;size : dword) : dword;
      else
        SocketError:=0;
   end;
-{$endif}
+
 
 {$i sockets.inc}