mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
27 lines
799 B
Diff
27 lines
799 B
Diff
Patch-Source: https://github.com/igbinary/igbinary/pull/398/commits/c7fe8aad3d7894bb85f5a189eba60dec9203950d
|
|
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);
|