redifine EINPROGRESS...
This commit is contained in:
parent
758350c6c9
commit
4394576c0b
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Reference in a new issue