summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--event.h2
2 files changed, 5 insertions, 0 deletions
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)