Mercurial > pidgin
diff src/win32/libc_interface.h @ 13778:cb2060acb34f
[gaim-migrate @ 16190]
Added wrapper for send() so that errno is set correctly
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 18 May 2006 13:48:11 +0000 |
parents | b04212d6b115 |
children |
line wrap: on
line diff
--- a/src/win32/libc_interface.h Thu May 18 04:47:04 2006 +0000 +++ b/src/win32/libc_interface.h Thu May 18 13:48:11 2006 +0000 @@ -112,6 +112,10 @@ #define recv(fd, buf, len, flags) \ wgaim_recv(fd, buf, len, flags) +int wgaim_send(int fd, const void *buf, unsigned int size, int flags); +#define send(socket, buf, buflen, flags) \ +wgaim_send(socket, buf, buflen, flags) + int wgaim_close(int fd); #define close( fd ) \ wgaim_close( fd )