Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
13777:a5bfc93b5309 | 13778:cb2060acb34f |
---|---|
110 | 110 |
111 int wgaim_recv(int fd, void *buf, size_t len, int flags); | 111 int wgaim_recv(int fd, void *buf, size_t len, int flags); |
112 #define recv(fd, buf, len, flags) \ | 112 #define recv(fd, buf, len, flags) \ |
113 wgaim_recv(fd, buf, len, flags) | 113 wgaim_recv(fd, buf, len, flags) |
114 | 114 |
115 int wgaim_send(int fd, const void *buf, unsigned int size, int flags); | |
116 #define send(socket, buf, buflen, flags) \ | |
117 wgaim_send(socket, buf, buflen, flags) | |
118 | |
115 int wgaim_close(int fd); | 119 int wgaim_close(int fd); |
116 #define close( fd ) \ | 120 #define close( fd ) \ |
117 wgaim_close( fd ) | 121 wgaim_close( fd ) |
118 | 122 |
119 #ifndef sleep | 123 #ifndef sleep |