From: Frank M. Kromann Date: Thu, 22 Dec 2005 07:13:06 +0000 (+0000) Subject: Fix build for non-curl configurations X-Git-Tag: RELEASE_0_21_0~50 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=18fdf0caf12aa17a238741ab86ab153dd2e5565c;p=m6w6%2Fext-http Fix build for non-curl configurations --- diff --git a/php_http_std_defs.h b/php_http_std_defs.h index 0cc40c9..dbc6473 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -388,10 +388,18 @@ typedef int STATUS; ZEND_BEGIN_ARG_INFO(http_arg_pass_ref_2, 0) \ ZEND_ARG_PASS_INFO(0) \ ZEND_ARG_PASS_INFO(1) \ + ZEND_END_ARG_INFO(); \ +\ + static \ + ZEND_BEGIN_ARG_INFO(http_arg_pass_ref_3, 0) \ + ZEND_ARG_PASS_INFO(0) \ + ZEND_ARG_PASS_INFO(0) \ + ZEND_ARG_PASS_INFO(1) \ ZEND_END_ARG_INFO(); # else # define HTTP_DECLARE_ARG_PASS_INFO() \ - static unsigned char http_arg_pass_ref_2[] = {2, BYREF_NONE, BYREF_FORCE}; + static unsigned char http_arg_pass_ref_2[] = {2, BYREF_NONE, BYREF_FORCE};\ + static unsigned char http_arg_pass_ref_3[] = {3, BYREF_NONE, BYREF_NONE, BYREF_FORCE}; # endif /* ZEND_ENGINE_2 */ #endif /* HTTP_HAVE_CURL */