diff src/win32/libc_interface.h @ 12749:13276711babc

[gaim-migrate @ 15096] This allows us to access the errors, I might need to do something with the blocking for this. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 07 Jan 2006 06:30:27 +0000
parents 202ce52b77a9
children b04212d6b115
line wrap: on
line diff
--- a/src/win32/libc_interface.h	Sat Jan 07 03:56:15 2006 +0000
+++ b/src/win32/libc_interface.h	Sat Jan 07 06:30:27 2006 +0000
@@ -108,6 +108,10 @@
 #define write( socket, buf, buflen ) \
 wgaim_write( socket, buf, buflen )
 
+int wgaim_recv(int fd, void *buf, size_t len, int flags);
+#define recv(fd, buf, len, flags) \
+wgaim_recv(fd, buf, len, flags)
+
 int wgaim_close(int fd);
 #define close( fd ) \
 wgaim_close( fd )