summaryrefslogtreecommitdiffstats
path: root/3652.patch
diff options
context:
space:
mode:
Diffstat (limited to '3652.patch')
-rw-r--r--3652.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/3652.patch b/3652.patch
new file mode 100644
index 0000000..f34db99
--- /dev/null
+++ b/3652.patch
@@ -0,0 +1,23 @@
+From 38b2641fd5e3893c7b152d7e218831a5e2fe6070 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 5 Nov 2018 15:58:42 +0100
+Subject: [PATCH] fix C++ compilation using zend_string_equals
+
+---
+ Zend/zend_string.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Zend/zend_string.h b/Zend/zend_string.h
+index 58975987eb02..4b375c5beceb 100644
+--- a/Zend/zend_string.h
++++ b/Zend/zend_string.h
+@@ -295,7 +295,9 @@ static zend_always_inline void zend_string_release_ex(zend_string *s, int persis
+ }
+
+ #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
++BEGIN_EXTERN_C()
+ ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2);
++END_EXTERN_C()
+ #else
+ static zend_always_inline zend_bool zend_string_equal_val(zend_string *s1, zend_string *s2)
+ {