From: Michael Wallner Date: Tue, 26 Jun 2018 13:40:28 +0000 (+0200) Subject: attempt to fix #78 X-Git-Tag: RELEASE_3_2_0~6 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=512f733beac73f37ba4acbcf730ebc6c6de849b6;p=m6w6%2Fext-http attempt to fix #78 PHP-7.3 build fails on x86 due to change of the calling convention of the zif_handler --- diff --git a/src/php_http_client_curl_user.c b/src/php_http_client_curl_user.c index d44f3da..1f69a51 100644 --- a/src/php_http_client_curl_user.c +++ b/src/php_http_client_curl_user.c @@ -22,7 +22,7 @@ typedef struct php_http_client_curl_user_ev { php_http_client_curl_user_context_t *context; } php_http_client_curl_user_ev_t; -static void php_http_client_curl_user_handler(INTERNAL_FUNCTION_PARAMETERS) +static ZEND_NAMED_FUNCTION(php_http_client_curl_user_handler) { zval *zstream = NULL, *zclient = NULL; php_stream *stream = NULL;