Fix build for non-curl configurations
authorFrank M. Kromann <fmk@php.net>
Thu, 22 Dec 2005 07:13:06 +0000 (07:13 +0000)
committerFrank M. Kromann <fmk@php.net>
Thu, 22 Dec 2005 07:13:06 +0000 (07:13 +0000)
php_http_std_defs.h

index 0cc40c9fb73c6acbc8eb250c6f18cbd1e6fa94e4..dbc6473301752a84c88f3d5b1e348de9d369f7bd 100644 (file)
@@ -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 */