From 140b81208e83569913aa81f964eb64e15940d897 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 May 2020 11:18:03 +0300 Subject: PHP: building with PHP 8 (development version). --- src/nxt_php_sapi.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nxt_php_sapi.c') diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index ccbdd475..d3c23c31 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -29,6 +29,14 @@ #define NXT_PHP7 1 #endif +/* PHP 8 */ +#ifndef TSRMLS_CC +#define TSRMLS_CC +#define TSRMLS_DC +#define TSRMLS_D void +#define TSRMLS_C +#endif + typedef struct { nxt_str_t root; -- cgit