Using own popcount where the compiler builtin is not available.

This commit is contained in:
Sergey Kandaurov
2018-06-20 19:34:06 +03:00
parent 50d4587961
commit 14bc401394
3 changed files with 35 additions and 1 deletions

View File

@@ -331,7 +331,7 @@ nxt_conf_vldt_type(nxt_conf_validation_t *vldt, nxt_str_t *name,
p = buf;
n = __builtin_popcount(type);
n = nxt_popcount(type);
if (n > 1) {
p = nxt_cpymem(p, "either ", 7);