redifine EINPROGRESS...

This commit is contained in:
Fish 2005-03-18 11:56:30 +00:00
parent 758350c6c9
commit 4394576c0b

View file

@ -135,6 +135,13 @@ bufferevent_readcb(int fd, short event, void *arg)
(*bufev->errorcb)(bufev, what, bufev->cbarg);
}
#ifdef WIN32
#ifndef EINPROGRESS
#define EINPROGRESS WSAEWOULDBLOCK
#endif
#endif
static void
bufferevent_writecb(int fd, short event, void *arg)
{