]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: dev: Improve C23 compatibility
authorOndřej Surý <ondrej@isc.org>
Tue, 26 Aug 2025 14:35:53 +0000 (16:35 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 26 Aug 2025 14:35:53 +0000 (16:35 +0200)
commitbfbc58063a62df62fb672705cc5a6c80ea8dcba2
tree7139de8b6ac1c21e7f6f507846ddfe71478a7d2b
parent56704f4bfb8d53c02c688e41f6d88d39d2696bff
parent443bbc64918f554d1e0772cc8b84891441df40eb
chg: dev: Improve C23 compatibility

Use C23 stdckdint.h when available and define ckd_{mul,add,sub} shims to __builtin_{mul,add,sub}_overflow(). Require all the __builtin functions to be supported to further simplify the non-C23 implementation.  Rename the <stdbit.h>-shims in <isc/bit.h> to their C23 names.

Merge branch 'ondrej/use-stdckdint.h-if-available' into 'main'

See merge request isc-projects/bind9!10818