Commit 5bb09bbc authored by Denis Bilenko's avatar Denis Bilenko

make it build with libevent-2.0.5-beta

parent f4c35d56
......@@ -23,6 +23,10 @@
#define EVHTTP_SET_CB evhttp_set_cb
#define EVBUFFER_PULLUP(BUF, SIZE) evbuffer_pullup(BUF, SIZE)
#if _EVENT_NUMERIC_VERSION >= 0x02000500
#define current_base event_global_current_base_
#endif
#elif USE_LIBEVENT_1
#include "event.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment