add helpful #define HAVE_EAGAIN_READWRITE
This commit is contained in:
parent
39e7ee90bb
commit
25d9c5a6c7
1
io.h
1
io.h
@ -66,6 +66,7 @@ void io_check();
|
|||||||
/* signal that read/accept/whatever returned EAGAIN */
|
/* signal that read/accept/whatever returned EAGAIN */
|
||||||
/* needed for SIGIO and epoll */
|
/* needed for SIGIO and epoll */
|
||||||
void io_eagain(int64 d); /* do not use, API was a bad idea */
|
void io_eagain(int64 d); /* do not use, API was a bad idea */
|
||||||
|
#define HAVE_EAGAIN_READWRITE
|
||||||
void io_eagain_read(int64 d); /* use these ones */
|
void io_eagain_read(int64 d); /* use these ones */
|
||||||
void io_eagain_write(int64 d);
|
void io_eagain_write(int64 d);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user