]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: dev: Rewrite the bit rotate functions using __builtin or generic
authorOndřej Surý <ondrej@isc.org>
Wed, 27 Aug 2025 09:53:13 +0000 (11:53 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 27 Aug 2025 09:53:13 +0000 (11:53 +0200)
In gcc 15, __builtin_stdc_rotate_{left,right} was added.  Use these
builtins when available otherwise rewrite the ISC_ROTATE_LEFT and
ISC_ROTATE_RIGHT using _Generic.

Merge branch 'ondrej/use-__builtin_stdc_rotate_left_right' into 'main'

See merge request isc-projects/bind9!10893


Trivial merge