X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=1234f9ba273418c9c5c1ecd699bf4c7ecb464e2c;hp=e9d6616bbd4ceae848f2a42918e86336c0a8f3e6;hb=e93a92c530d8adb0e99682b458edcb05efc7db0d;hpb=14d900a2dfe7c3f665a794d7cf75fb4053f83dfb diff --git a/php_http.h b/php_http.h index e9d6616..1234f9b 100644 --- a/php_http.h +++ b/php_http.h @@ -55,7 +55,7 @@ typedef enum { HTTP_POST, } http_request_method; -#endif +#endif /* HTTP_HAVE _CURL */ PHP_METHOD(HTTPi, date); PHP_METHOD(HTTPi, absoluteURI); @@ -79,7 +79,7 @@ PHP_METHOD(HTTPi, get); PHP_METHOD(HTTPi, head); PHP_METHOD(HTTPi, postData); PHP_METHOD(HTTPi, postArray); -#endif +#endif /* HTTP_HAVE_CURL */ PHP_METHOD(HTTPi, authBasic); PHP_METHOD(HTTPi, authBasicCallback); @@ -166,12 +166,12 @@ PHP_FUNCTION(http_get); PHP_FUNCTION(http_head); PHP_FUNCTION(http_post_data); PHP_FUNCTION(http_post_array); -#endif +#endif /* HTTP_HAVE_CURL */ PHP_FUNCTION(http_auth_basic); PHP_FUNCTION(http_auth_basic_cb); #ifndef ZEND_ENGINE_2 PHP_FUNCTION(http_build_query); -#endif +#endif /* ZEND_ENGINE_2 */ PHP_FUNCTION(ob_httpetaghandler); PHP_MINIT_FUNCTION(http); @@ -196,7 +196,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http) size_t size; } curlbuf; zend_llist to_free; -#endif +#endif /* HTTP_HAVE_CURL */ ZEND_END_MODULE_GLOBALS(http) #endif /* PHP_HTTP_H */