]> git.llucax.com Git - software/libev.git/blobdiff - event.c
*** empty log message ***
[software/libev.git] / event.c
diff --git a/event.c b/event.c
index 6e26a4863aba962bb6cbc48363277626e98f42fd..83fa71103bb45f99318f6de4cf75fc4b2f37899b 100644 (file)
--- 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 */