diff options
Diffstat (limited to '')
| -rw-r--r-- | src/nxt_clang.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_clang.h b/src/nxt_clang.h index 94638346..919d9168 100644 --- a/src/nxt_clang.h +++ b/src/nxt_clang.h @@ -251,6 +251,10 @@ nxt_popcount(unsigned int x) (u_char *) ((uintptr_t) (p) & ~((uintptr_t) (a) - 1)) +#define nxt_sizeof_array(a) \ + (sizeof(a) + (0 * nxt_nitems(a))) + + #define nxt_length(s) \ (sizeof(s) - 1) |
