diff options
Diffstat (limited to '')
-rw-r--r-- | databases/php-tarantool/files/patch-src-tarantool.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/php-tarantool/files/patch-src-tarantool.c b/databases/php-tarantool/files/patch-src-tarantool.c new file mode 100644 index 000000000000..ef3aa0e55cc1 --- /dev/null +++ b/databases/php-tarantool/files/patch-src-tarantool.c @@ -0,0 +1,15 @@ +--- src/tarantool.c.orig 2020-06-29 22:41:13 UTC ++++ src/tarantool.c +@@ -14,6 +14,12 @@ + + #include "utils.h" + ++#if PHP_MAJOR_VERSION >= 8 ++#define TSRMLS_CC ++#define TSRMLS_DC ++#define TSRMLS_FETCH() ++#endif ++ + static int __tarantool_authenticate(tarantool_connection *obj); + static void tarantool_stream_close(tarantool_connection *obj); + |