summaryrefslogtreecommitdiff
path: root/Zend/zend_string.h
diff options
context:
space:
mode:
authorJan Rękorajski <baggins@pld-linux.org>2018-10-24 23:02:33 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-11-13 12:31:00 +0100
commitf76be1a0d682fb11c706a789cce1dfb898041f30 (patch)
tree896aa59aa4980fcf5665df60516a0c0b7a80a164 /Zend/zend_string.h
parent512b93e9d6392877ec8d6a44a2bfead5093fa0d0 (diff)
downloadphp-git-f76be1a0d682fb11c706a789cce1dfb898041f30.tar.gz
Fix compilation on x32
Signed-off-by: Elan Ruusamäe <glen@pld-linux.org>
Diffstat (limited to 'Zend/zend_string.h')
-rw-r--r--Zend/zend_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_string.h b/Zend/zend_string.h
index 4b375c5bec..c95578d4a5 100644
--- a/Zend/zend_string.h
+++ b/Zend/zend_string.h
@@ -294,7 +294,7 @@ static zend_always_inline void zend_string_release_ex(zend_string *s, int persis
}
}
-#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
+#if defined(__GNUC__) && (defined(__i386__) || (defined(__x86_64__) && !defined(__ILP32__)))
BEGIN_EXTERN_C()
ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2);
END_EXTERN_C()