diff options
author | David CARLIER <devnexen@gmail.com> | 2021-01-30 09:45:01 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-01 09:43:12 +0100 |
commit | 12d08db91398e6a9f532bdad8cf5a0699b16d2a6 (patch) | |
tree | 1f8ff199c3bca0d4b6e22459ac32de2621322f7b /ext/standard/crc32.c | |
parent | d94d0dda297ebc2f7afe0add2a6f85ddd057b4ee (diff) | |
download | php-git-12d08db91398e6a9f532bdad8cf5a0699b16d2a6.tar.gz |
crc32 mac build fix
Closes GH-6651.
Diffstat (limited to 'ext/standard/crc32.c')
-rw-r--r-- | ext/standard/crc32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/crc32.c b/ext/standard/crc32.c index 83f4314b69..659c9f0906 100644 --- a/ext/standard/crc32.c +++ b/ext/standard/crc32.c @@ -43,6 +43,7 @@ static inline int has_crc32_insn() { size_t reslen = sizeof(res); if (sysctlbyname("hw.optional.armv8_crc32", &res, &reslen, NULL, 0) < 0) res = 0; + return res; # else res = 0; return res; |