summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2018-06-20 19:34:06 +0300
committerSergey Kandaurov <pluknet@nginx.com>2018-06-20 19:34:06 +0300
commit14bc4013941d38740d10681e7d54711f95cb38c4 (patch)
tree43713a1548b6b3419f7a1e918067532d6abd9184 /src/nxt_conf_validation.c
parent50d458796180367b9e2e65884abd538f31b774de (diff)
downloadunit-14bc4013941d38740d10681e7d54711f95cb38c4.tar.gz
unit-14bc4013941d38740d10681e7d54711f95cb38c4.tar.bz2
Using own popcount where the compiler builtin is not available.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index 7d9c9631..4fb4720f 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -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);