summaryrefslogtreecommitdiff
path: root/sysutils/pecl-proctitle/files/patch-php__proctitle.h
blob: 7d00c6c4feb4f1fbea8debc050f42c501581f806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- php_proctitle.h.orig	2012-05-11 08:49:30 UTC
+++ php_proctitle.h
@@ -21,6 +21,15 @@
 #ifndef PHP_PROCTITLE_H
 #define PHP_PROCTITLE_H
 
+
+#if PHP_MAJOR_VERSION >= 8
+#define TSRMLS_CC
+#define TSRMLS_C
+#define TSRMLS_DC
+#define TSRMLS_D
+#define TSRMLS_FETCH()
+#endif
+
 #define PHP_PROCTITLE_VERSION "0.1.2"
 
 extern zend_module_entry proctitle_module_entry;