bluez-tools: Add package bluezetools
[feed/packages.git] / lang / php7-pecl-libevent / patches / 010-libevent2.patch
1 --- a/libevent.c
2 +++ b/libevent.c
3 @@ -37,10 +37,12 @@
4 # define LIBEVENT_SOCKETS_SUPPORT
5 #endif
6
7 -#ifdef PHP_WIN32
8 +//#ifdef PHP_WIN32
9 /* XXX compiling with 2.x on Windows. Luckily the ext code works thanks to the
10 compat exports from the libevent. However it might need to be adapted to the
11 never version, so this ifdefs would go away. */
12 +#if 1
13 +/* force use of libevent2 on OpenWrt and by-pass compat event.h */
14 # include <event2/event.h>
15 # include <event2/event_compat.h>
16 # include <event2/event_struct.h>