]> git.ipfire.org Git - thirdparty/bind9.git/commit
new: dev: add <isc/bit.h> alessio/no-node-cleaning
authorAydın Mercan <aydin@isc.org>
Tue, 19 Aug 2025 11:03:12 +0000 (14:03 +0300)
committerAydın Mercan <aydin@isc.org>
Tue, 19 Aug 2025 11:03:12 +0000 (14:03 +0300)
commit87dfd96743c85ded2533b2306dbf48740f19785e
tree0ae38bd42c0e9ecebe801d25a7122b22497b809b
parent0da10d8bbe6767e4140195f9b0cf039a30895354
parent7d5928c3a28fab5c0b67fbf711de20bdc6d56890
new: dev: add <isc/bit.h>

The `<isc/bit.h>` header is a GNU C11 compatible version of C23's
`<stdbit.h>`.

It currently uses either `<stdbit.h>` or the equivilent compiler
builtins. However, the generic `__builtin_ctzg` and `__builtin_ctlz`
builtins are not available in every compiler version and thus falls
back to manually selecting from type.

Furthermore, the ctz fallback has been removed since `__builtin_ctzll`
has been used for a while directly without any compilation issues from
users. Thus, we can also require `__builtin_ctz`.

Merge branch 'aydin/isc_bit' into 'main'

See merge request isc-projects/bind9!10282