mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 09:29:17 +02:00
*wince : build broken
git-svn-id: trunk@4948 -
This commit is contained in:
parent
b84fc6e881
commit
442560b46d
@ -287,7 +287,6 @@ begin
|
|||||||
SocketPair:=fpsocketpair(domain,sockettype,protocol,@pair);
|
SocketPair:=fpsocketpair(domain,sockettype,protocol,@pair);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$ifdef unix}
|
|
||||||
{ mimic the linux fpWrite/fpRead calls for the file/text socket wrapper }
|
{ mimic the linux fpWrite/fpRead calls for the file/text socket wrapper }
|
||||||
function fpWrite(handle : longint;Const bufptr;size : dword) : dword;
|
function fpWrite(handle : longint;Const bufptr;size : dword) : dword;
|
||||||
begin
|
begin
|
||||||
@ -327,7 +326,7 @@ function fpRead(handle : longint;var bufptr;size : dword) : dword;
|
|||||||
else
|
else
|
||||||
SocketError:=0;
|
SocketError:=0;
|
||||||
end;
|
end;
|
||||||
{$else}
|
|
||||||
{ mimic the linux fdWrite/fdRead calls for the file/text socket wrapper }
|
{ mimic the linux fdWrite/fdRead calls for the file/text socket wrapper }
|
||||||
function fdWrite(handle : longint;Const bufptr;size : dword) : dword;
|
function fdWrite(handle : longint;Const bufptr;size : dword) : dword;
|
||||||
begin
|
begin
|
||||||
@ -367,7 +366,7 @@ function fdRead(handle : longint;var bufptr;size : dword) : dword;
|
|||||||
else
|
else
|
||||||
SocketError:=0;
|
SocketError:=0;
|
||||||
end;
|
end;
|
||||||
{$endif}
|
|
||||||
|
|
||||||
{$i sockets.inc}
|
{$i sockets.inc}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user