diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-12-03 13:28:41 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-12-03 13:28:41 +0300 |
commit | 59424bb7bd2a5206dddb8575d8f081610be7bf50 (patch) | |
tree | 2639279dd17e530cb234117144636c753d154d8c /Zend/zend_hash.c | |
parent | 2fabcbfedbd895bcb437298bb94655bcb9556468 (diff) | |
download | php-git-59424bb7bd2a5206dddb8575d8f081610be7bf50.tar.gz |
Fixed bug #71006 (symbol referencing errors on Sparc/Solaris)
Diffstat (limited to 'Zend/zend_hash.c')
-rw-r--r-- | Zend/zend_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c index 283ceb8c18..ecfee33e14 100644 --- a/Zend/zend_hash.c +++ b/Zend/zend_hash.c @@ -112,7 +112,7 @@ static uint32_t zend_always_inline zend_hash_check_size(uint32_t nSize) rather than using an undefined bis scan result. */ return nSize; } -#elif defined(__GNUC__) || __has_builtin(__builtin_clz) +#elif (defined(__GNUC__) || __has_builtin(__builtin_clz)) && defined(PHP_HAVE_BUILTIN_CLZ) return 0x2 << (__builtin_clz(nSize - 1) ^ 0x1f); #else nSize -= 1; |