diff options
author | Remi Collet <remi@remirepo.net> | 2018-11-05 16:56:50 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-11-05 16:56:50 +0100 |
commit | 429cdcff82ec363d50d4acd5d228a8931b5f3432 (patch) | |
tree | 479270fa85713ec79c41870594dde941e8e8ef4f /3652.patch | |
parent | 8bdcb18565889d18097d3fcd0b9f693ad0e10e03 (diff) |
test build for https://github.com/php/php-src/pull/3652
Diffstat (limited to '3652.patch')
-rw-r--r-- | 3652.patch | 23 |
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) + { |