Instead of read/write in regress.c, use send/recv. Now all of the win32 regression tests pass, except for http and rpc.

svn:r461
This commit is contained in:
Nick Mathewson 2007-10-12 18:02:56 +00:00
parent e1f09dfe5c
commit c91794e25d

View File

@ -81,6 +81,11 @@ static struct event_base *global_base;
#define SHUT_WR 1
#endif
#ifdef WIN32
#define write(fd,buf,len) send((fd),(buf),(len),0)
#define read(fd,buf,len) recv((fd),(buf),(len),0)
#endif
void
simple_read_cb(int fd, short event, void *arg)
{