From a8243ac4d28b1b3ed5858ef6a4f0488de9aa2108 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 5 Dec 2010 10:12:24 +0000 Subject: *** empty log message *** --- Changes | 3 +++ event.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Changes b/Changes index 6f8e7d5..f451d40 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,9 @@ Revision history for libev, a high-performance and full-featured event loop. TODO: move some other examples to common idioms? combining watchers, thread usage, coroutine switch? + - define EV_READ/EV_WRITE as macros in event.h, as some programs use + #ifdef to test for them. + 4.01 Fri Nov 5 21:51:29 CET 2010 - automake fucked it up, apparently, --add-missing -f is not quite enough to make it update its files, so 4.00 didn't install ev++.h and diff --git a/event.h b/event.h index 358344a..6411fb6 100644 --- a/event.h +++ b/event.h @@ -95,6 +95,8 @@ struct event short ev_events; }; +#define EV_READ EV_READ +#define EV_WRITE EV_WRITE #define EV_PERSIST 0x10 #define EVENT_SIGNAL(ev) ((int) (ev)->ev_fd) -- cgit v1.2.3