projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-http]
/
src
/
php_http_client_curl_event.c
diff --git
a/src/php_http_client_curl_event.c
b/src/php_http_client_curl_event.c
index e1ba505b783d828ec92ca25d576f2432e394afdd..ea5f6afe8ba3f20385d541abc76ce41399674bb3 100644
(file)
--- a/
src/php_http_client_curl_event.c
+++ b/
src/php_http_client_curl_event.c
@@
-12,9
+12,9
@@
#include "php_http_api.h"
#include "php_http_api.h"
-#if PHP_HTTP_HAVE_CURL
-#if PHP_HTTP_HAVE_EVENT
-# if !PHP_HTTP_HAVE_EVENT2 && /* just be really sure */ !(LIBEVENT_VERSION_NUMBER >= 0x02000000)
+#if PHP_HTTP_HAVE_
LIB
CURL
+#if PHP_HTTP_HAVE_
LIB
EVENT
+# if !PHP_HTTP_HAVE_
LIB
EVENT2 && /* just be really sure */ !(LIBEVENT_VERSION_NUMBER >= 0x02000000)
# include <event.h>
# define event_base_new event_init
# define event_assign(e, b, s, a, cb, d) do {\
# include <event.h>
# define event_base_new event_init
# define event_assign(e, b, s, a, cb, d) do {\
@@
-22,7
+22,7
@@
event_base_set(b, e); \
} while(0)
# else
event_base_set(b, e); \
} while(0)
# else
-# if PHP_HTTP_HAVE_EVENT2
+# if PHP_HTTP_HAVE_
LIB
EVENT2
# include <event2/event.h>
# include <event2/event_struct.h>
# else
# include <event2/event.h>
# include <event2/event_struct.h>
# else
@@
-314,8
+314,8
@@
php_http_client_curl_ops_t *php_http_client_curl_event_ops_get()
return &php_http_client_curl_event_ops;
}
return &php_http_client_curl_event_ops;
}
-#endif /* PHP_HTTP_HAVE_EVENT */
-#endif /* PHP_HTTP_HAVE_CURL */
+#endif /* PHP_HTTP_HAVE_
LIB
EVENT */
+#endif /* PHP_HTTP_HAVE_
LIB
CURL */
/*
* Local variables:
/*
* Local variables: