From 429cdcff82ec363d50d4acd5d228a8931b5f3432 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Nov 2018 16:56:50 +0100 Subject: test build for https://github.com/php/php-src/pull/3652 --- 3652.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 3652.patch (limited to '3652.patch') 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 +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) + { -- cgit