From: Michael Wallner Date: Thu, 7 Sep 2017 11:22:29 +0000 (+0000) Subject: compat: PHP-7.2 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=commitdiff_plain;h=97c640850205296e225180b847716f9e55f0c622 compat: PHP-7.2 --- diff --git a/src/call.c b/src/call.c index ce439bf..015b626 100644 --- a/src/call.c +++ b/src/call.c @@ -250,8 +250,8 @@ struct psi_context *psi_call_frame_get_context(struct psi_call_frame *frame) { return frame->context; } -#if PHP_VERSION_ID < 70200 -# define PARAM_PROLOGUE(separate) Z_PARAM_PROPLOGUE(separate) +#if PHP_VERSION_ID < 70300 +# define PARAM_PROLOGUE(separate) Z_PARAM_PROLOGUE(separate) #else # define PARAM_PROLOGUE(separate) Z_PARAM_PROLOGUE(1, separate) #endif