fix: dev: Fix building on OpenBSD 7.8 with Clang 19.1.7

Add the OpenBSD and Clang combination to the existing kludge to
recognize size_t and uintXX_t types as same when using a generic.

Closes #5635

Merge branch '5635-openbsd-size_t-generics-fix' into 'main'

See merge request isc-projects/bind9!11235
This commit is contained in:
Mark Andrews 2025-11-20 13:40:11 +11:00
commit d30fdf063c

View file

@ -107,7 +107,7 @@ isc_rotate_right64(const uint64_t x, uint32_t n) {
return (x >> n) | (x << (64 - n));
}
#if __APPLE_CC__
#if __APPLE_CC__ || (defined(__OpenBSD__) && defined(__clang__))
/*
* Apple compiler doesn't recognize size_t and uintXX_t types as same,