From 3ef107ac8bea3043e493786e2f8ad20366b0ad7d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Apr 2020 09:16:03 +0200 Subject: [PATCH 2/2] define TSRMLS_* macro dropped in PHP 8 --- src/nxt_php_sapi.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index f505365..b059146 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -29,6 +29,13 @@ #define NXT_PHP7 1 #endif +#ifndef TSRMLS_CC +#define TSRMLS_CC +#define TSRMLS_DC +#define TSRMLS_D void +#define TSRMLS_C +#endif + typedef struct { char *cookie; nxt_str_t path_info; -- 2.25.2