attempt to fix #78
authorMichael Wallner <mike@php.net>
Tue, 26 Jun 2018 13:40:28 +0000 (15:40 +0200)
committerMichael Wallner <mike@php.net>
Tue, 26 Jun 2018 13:40:28 +0000 (15:40 +0200)
PHP-7.3 build fails on x86 due to change of the calling convention of
the zif_handler

src/php_http_client_curl_user.c

index d44f3dac815f1512ee9f9c51d66719b0733ffa87..1f69a51cb7203e3d4acb05502f512a703a1f1eb6 100644 (file)
@@ -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;
 
        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;
 {
        zval *zstream = NULL, *zclient = NULL;
        php_stream *stream = NULL;