minor C-L bug in older libcurl
[m6w6/ext-http] / php_http_curl.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2014, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_HTTP_CURL_H
14 #define PHP_HTTP_CURL_H
15
16 #if PHP_HTTP_HAVE_CURL
17
18 #include <curl/curl.h>
19 #define PHP_HTTP_CURL_VERSION(x, y, z) (LIBCURL_VERSION_NUM >= (((x)<<16) + ((y)<<8) + (z)))
20
21 PHP_MINIT_FUNCTION(http_curl);
22 PHP_MSHUTDOWN_FUNCTION(http_curl);
23
24 #endif /* PHP_HTTP_HAVE_CURL */
25
26 #endif /* PHP_HTTP_CURL_H */
27
28 /*
29 * Local variables:
30 * tab-width: 4
31 * c-basic-offset: 4
32 * End:
33 * vim600: noet sw=4 ts=4 fdm=marker
34 * vim<600: noet sw=4 ts=4
35 */
36