opnsense-ports/databases/php-tarantool/files/patch-src-tarantool_exception.c
Franco Fichtner 97b2a225e6 */*: sync with upstream
Taken from: HardenedBSD
2020-11-08 19:38:16 +01:00

13 lines
334 B
C

--- src/tarantool_exception.c.orig 2020-06-29 22:41:13 UTC
+++ src/tarantool_exception.c
@@ -4,6 +4,10 @@
#include "tarantool_exception.h"
+#if PHP_MAJOR_VERSION >= 8
+#define TSRMLS_DC
+#endif
+
zend_class_entry *TarantoolException_ptr;
zend_class_entry *TarantoolIOException_ptr;
zend_class_entry *TarantoolClientError_ptr;