summaryrefslogtreecommitdiffstats
path: root/yaf-php83.patch
blob: fc12b819c8f9c6e4f38676f1d0e7df0cd31693e3 (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
26
27
28
From 866f31e4916214dcafacbf2bb5035b6c046095aa Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 14 Sep 2023 13:15:59 +0200
Subject: [PATCH] ZEND_HOT removed in 8.3

---
 php_yaf.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/php_yaf.h b/php_yaf.h
index 3585421..9cd6e3a 100644
--- a/php_yaf.h
+++ b/php_yaf.h
@@ -260,6 +260,11 @@ static zend_always_inline uint32_t yaf_compose_2_pathes(char *buf, zend_string *
 }
 #endif
 
+/* removed in 8.3 */
+#ifndef ZEND_HOT
+#define ZEND_HOT
+#endif
+
 /*
  * Local variables:
  * tab-width: 4
-- 
2.41.0