X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_request_datashare_api.h;h=15818b0b01bfcc5c50ee79970be59c005f229b96;hp=07bb9991b9bf92b9cb3c95a42f9011e6e7e000eb;hb=ad5f896b03adaa073134a00108a9cdf00720673a;hpb=cd5137b3e7cb8fe55a32b1de626127e786a86d0d diff --git a/php_http_request_datashare_api.h b/php_http_request_datashare_api.h index 07bb999..15818b0 100644 --- a/php_http_request_datashare_api.h +++ b/php_http_request_datashare_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2010, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -15,6 +15,7 @@ #ifndef PHP_HTTP_REQUEST_DATASHARE_API_H #define PHP_HTTP_REQUEST_DATASHARE_API_H #ifdef HTTP_HAVE_CURL +#ifdef ZEND_ENGINE_2 #ifdef ZTS typedef struct _http_request_datashare_lock_t { @@ -72,6 +73,7 @@ PHP_HTTP_API void _http_request_datashare_free(http_request_datashare **share TS PHP_HTTP_API STATUS _http_request_datashare_set(http_request_datashare *share, const char *option, size_t option_len, zend_bool enable TSRMLS_DC); +#endif #endif #endif