summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2010-12-05 10:12:24 +0000
committerroot <root>2010-12-05 10:12:24 +0000
commita8243ac4d28b1b3ed5858ef6a4f0488de9aa2108 (patch)
tree1dea32fb9a5e1947f96bcf277a3e14d98846287a
parente95a36899d8d6eca786ef07425376fe56a8f51f0 (diff)
*** empty log message ***
-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)