summaryrefslogtreecommitdiff
path: root/databases/php-tarantool/files/patch-src-tarantool_msgpack.c
blob: ad47e883931ae184e36a2e3ca6d52cb066b51354 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/tarantool_msgpack.c.orig	2020-06-29 22:41:13 UTC
+++ src/tarantool_msgpack.c
@@ -5,6 +5,10 @@
 
 #include "third_party/msgpuck.h"
 
+#if PHP_MAJOR_VERSION >= 8
+#define TSRMLS_FETCH()
+#endif
+
 #ifndef    HASH_KEY_NON_EXISTENT
 #define    HASH_KEY_NON_EXISTENT HASH_KEY_NON_EXISTANT
 #endif  /* HASH_KEY_NON_EXISTENT */