Mercurial > pidgin.yaz
diff src/win32/libc_interface.h @ 11431:d2e44c8085e0
[gaim-migrate @ 13668]
Win32 fixes for sendto() and also some whitespace fixes
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 02 Sep 2005 21:55:28 +0000 |
parents | e46b51de549a |
children | 202ce52b77a9 |
line wrap: on
line diff
--- a/src/win32/libc_interface.h Fri Sep 02 20:50:03 2005 +0000 +++ b/src/win32/libc_interface.h Fri Sep 02 21:55:28 2005 +0000 @@ -58,6 +58,10 @@ #define listen( socket, n ) \ wgaim_listen( socket, n ) +extern int wgaim_sendto(int socket, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); +#define sendto(socket, buf, len, flags, to, tolen) \ +wgaim_sendto(socket, buf, len, flags, to, tolen) + /* sys/ioctl.h */ extern int wgaim_ioctl(int fd, int command, void* opt); #define ioctl( fd, command, val ) \