summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index df509c7dc5..0a0da5aa02 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -58,6 +58,8 @@ extern zend_module_entry curl_module_entry;
#define PHP_CURL_RETURN 4
#define PHP_CURL_IGNORE 7
+#define SAVE_CURL_ERROR(__handle, __err) (__handle)->err.no = (int) __err;
+
extern int le_curl;
#define le_curl_name "cURL handle"
extern int le_curl_multi_handle;