summaryrefslogtreecommitdiffstats
path: root/398.patch
blob: 117abd224675f1010e11372b16e0560a5e15fadb (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 c7fe8aad3d7894bb85f5a189eba60dec9203950d Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 30 Jul 2025 11:38:30 +0200
Subject: [PATCH] use Zend/zend_smart_string.h

---
 src/php7/php_igbinary.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/php7/php_igbinary.h b/src/php7/php_igbinary.h
index 07312b76..d64c3702 100644
--- a/src/php7/php_igbinary.h
+++ b/src/php7/php_igbinary.h
@@ -32,7 +32,11 @@ ZEND_END_MODULE_GLOBALS(igbinary)
 #include "TSRM.h"
 #endif
 
+#if PHP_VERSION_ID < 70200
 #include "ext/standard/php_smart_string.h"
+#else
+#include "Zend/zend_smart_string.h"
+#endif
 
 /** Module init function. */
 PHP_MINIT_FUNCTION(igbinary);