diff options
author | George Schlossnagle <gschlossnagle@php.net> | 2005-07-15 16:47:48 +0000 |
---|---|---|
committer | George Schlossnagle <gschlossnagle@php.net> | 2005-07-15 16:47:48 +0000 |
commit | d0ec239661ffbced315e708f42d50d4ebff18396 (patch) | |
tree | 7391fadf9b8cb757ff95c82a9b694ad5f7a8e1b3 /ext/curl | |
parent | 869d6002d625ef0ee0cbfa69898599f18805ca0e (diff) | |
download | php-git-d0ec239661ffbced315e708f42d50d4ebff18396.tar.gz |
Darwin seems to like this much better.
Diffstat (limited to 'ext/curl')
-rw-r--r-- | ext/curl/interface.c | 3 | ||||
-rw-r--r-- | ext/curl/php_curl.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 440f4e3c4f..aae5ef405c 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -52,6 +52,9 @@ #include "ext/standard/url.h" #include "php_curl.h" +int le_curl; +int le_curl_multi_handle; + static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC); #define SAVE_CURL_ERROR(__handle, __err) (__handle)->err.no = (int) __err; diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index 2f8ba6111f..cb0b494c55 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -51,9 +51,9 @@ extern zend_module_entry curl_module_entry; #define PHP_CURL_BINARY 6 #define PHP_CURL_IGNORE 7 -int le_curl; +extern int le_curl; #define le_curl_name "cURL handle" -int le_curl_multi_handle; +extern int le_curl_multi_handle; #define le_curl_multi_handle_name "cURL Multi Handle" PHP_MINIT_FUNCTION(curl); |