summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorroot <root>2009-01-06 19:57:32 +0000
committerroot <root>2009-01-06 19:57:32 +0000
commit45920dd879937605783e2a764ba29c152686b21d (patch)
tree52d27bd7f5c5b9f43b6dd27c5982ca3cdea35929 /event.c
parentff4968a12811c47cdda59e91c9c5b1d4355800ab (diff)
*** empty log message ***
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/event.c b/event.c
index b8a8e17..1bcd7a0 100644
--- a/event.c
+++ b/event.c
@@ -79,10 +79,12 @@ ev_tv_get (struct timeval *tv)
return -1.;
}
-#define EVENT_VERSION(a,b) # a "." # b
+#define EVENT_STRINGIFY(s) # s
+#define EVENT_VERSION(a,b) EVENT_STRINGIFY (a) "." EVENT_STRINGIFY (b)
const char *event_get_version (void)
{
+ /* returns ABI, not API or library, version */
return EVENT_VERSION (EV_VERSION_MAJOR, EV_VERSION_MINOR);
}