From 25d9c5a6c7969418e7c2472c1d34259770647ced Mon Sep 17 00:00:00 2001 From: leitner Date: Thu, 5 Jun 2014 20:47:09 +0000 Subject: [PATCH] add helpful #define HAVE_EAGAIN_READWRITE --- io.h | 1 + 1 file changed, 1 insertion(+) diff --git a/io.h b/io.h index a39f185..49fb38e 100644 --- a/io.h +++ b/io.h @@ -66,6 +66,7 @@ void io_check(); /* signal that read/accept/whatever returned EAGAIN */ /* needed for SIGIO and epoll */ 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_write(int64 d);