From e1a632c4c5499fe85d8d22add68683be21407aa7 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Mon, 18 Jan 2021 23:20:37 +0200 Subject: [PATCH] php8 compat --- src/php_tarantool.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/php_tarantool.h b/src/php_tarantool.h index db46137..aaf5874 100644 --- a/src/php_tarantool.h +++ b/src/php_tarantool.h @@ -35,6 +35,16 @@ } while(0) #endif /* PHP_VERSION_ID < 70300 */ +#if PHP_VERSION_ID >= 80000 +#ifndef TSRMLS_D +#define TSRMLS_D void +#define TSRMLS_DC +#define TSRMLS_C +#define TSRMLS_CC +#define TSRMLS_FETCH() +#endif +#endif /* PHP_VERSION_ID >= 80000 */ + #if PHP_VERSION_ID < 70300 # define ARRAY_PROTECT_RECURSION(data) do { \