summaryrefslogtreecommitdiff
path: root/archivers/php-horde_lz4/files/patch-horde__lz4.h
blob: 86ed280fee27f37857523fa90398d049bf845103 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- horde_lz4.h.orig	2020-10-25 07:33:13 UTC
+++ horde_lz4.h
@@ -30,4 +30,10 @@ typedef size_t strsize;
 #define HORDE_LZ4_RETSTRL(a,l) RETURN_STRINGL(a,l)
 #endif
 
+#if ZEND_MODULE_API_NO >= 20190128
+#ifndef TSRMLS_CC
+#define TSRMLS_CC
+#endif
+#endif
+
 #endif  /* PHP_HORDE_LZ4_H */