From 96ffcae37190a866778dee22bec8841fcf244c09 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 14 Sep 2001 01:00:20 +0000 Subject: [PATCH] Fix recv prototype for WSARecvEx. --- dlls/wsock32/socket.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wsock32/socket.c b/dlls/wsock32/socket.c index 95b351648e7..4babb7f8dd0 100644 --- a/dlls/wsock32/socket.c +++ b/dlls/wsock32/socket.c @@ -17,6 +17,7 @@ Until that happens we need this hack. */ #define socket linux_socket +#define recv linux_recv /* */ #include "config.h" @@ -49,7 +50,9 @@ /* FIXME: The rest of the socket() cdecl<->stdapi stack corruption problem discussed above. */ #undef socket +#undef recv extern SOCKET WINAPI socket(INT af, INT type, INT protocol); +extern SOCKET WINAPI recv(SOCKET,char*,int,int); /* */