summaryrefslogtreecommitdiffstats
path: root/env-pr10.patch
blob: b4a754c7beae25f32c51097f153f412405fff2be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From cf3d85f354489a39c96823332c797af45a4e781f Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Tue, 22 Sep 2020 15:01:31 +0200
Subject: [PATCH] trivial fix for PHP 8

---
 env.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/env.h b/env.h
index 85059ef..b0a67be 100644
--- a/env.h
+++ b/env.h
@@ -1,5 +1,11 @@
 #ifndef ENV_H
 #define ENV_H
+
+#ifndef TSRMLS_CC
+#define TSRMLS_CC
+#define TSRMLS_DC
+#endif
+
 void php_env_module_init(HashTable *vars TSRMLS_DC);
 void php_env_request_init(HashTable *vars TSRMLS_DC);
 #endif