summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorroot <root>2007-11-04 16:52:52 +0000
committerroot <root>2007-11-04 16:52:52 +0000
commitd68da9db1b34dbd6f29a0576bc897a9c49e4d7ed (patch)
treeddf326b6f90f6455c80bf012c79a208558b8d704 /event.c
parent305af5e87583383e4059c39dfa146621c5ec8be9 (diff)
*** empty log message ***
Diffstat (limited to 'event.c')
-rw-r--r--event.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/event.c b/event.c
index 6e26a48..83fa711 100644
--- a/event.c
+++ b/event.c
@@ -34,7 +34,9 @@
#include <sys/time.h>
#include <assert.h>
-#include "event.h"
+#ifndef EV_EMBED
+# include "event.h"
+#endif
#if EV_MULTIPLICITY
# define dLOOPev struct ev_loop *loop = (struct ev_loop *)ev->ev_base
@@ -110,7 +112,7 @@ int event_dispatch (void)
return event_base_dispatch (x_cur);
}
-#ifdef EV_STANDALONE
+#ifdef EV_EMBED
void event_set_log_callback (event_log_cb cb)
{
/* nop */