X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_client_curl.c;h=ce7c3db1ba5d752ff1e0db5f481fe8a0b173b5d3;hp=52e5e0278788af16cb082dbaaa4a7a4901f9693a;hb=c196e4812f4b506107ae25f0efd10206b37a0bea;hpb=4b123a5347d0f16003feb045a5304bbb91630d74 diff --git a/php_http_client_curl.c b/php_http_client_curl.c index 52e5e02..ce7c3db 100644 --- a/php_http_client_curl.c +++ b/php_http_client_curl.c @@ -17,20 +17,20 @@ #if PHP_HTTP_HAVE_EVENT # if !PHP_HTTP_HAVE_EVENT2 && /* just be really sure */ !(LIBEVENT_VERSION_NUMBER >= 0x02000000) -# include +# include # define event_base_new event_init # define event_assign(e, b, s, a, cb, d) do {\ event_set(e, s, a, cb, d); \ event_base_set(b, e); \ } while(0) -# else -# if PHP_HTTP_HAVE_EVENT2 -# include -# include -# else -# error "libevent presence is unknown" -# endif -# endif +# else +# if PHP_HTTP_HAVE_EVENT2 +# include +# include +# else +# error "libevent presence is unknown" +# endif +# endif # ifndef DBG_EVENTS # define DBG_EVENTS 0 # endif