diff options
Diffstat (limited to 'databases/php-tarantool/files/patch-src-tarantool_msgpack.c')
| -rw-r--r-- | databases/php-tarantool/files/patch-src-tarantool_msgpack.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/php-tarantool/files/patch-src-tarantool_msgpack.c b/databases/php-tarantool/files/patch-src-tarantool_msgpack.c new file mode 100644 index 000000000000..ad47e883931a --- /dev/null +++ b/databases/php-tarantool/files/patch-src-tarantool_msgpack.c @@ -0,0 +1,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 */ |
