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.
This commit is contained in:
Aram Sargsyan 2025-11-11 13:49:14 +00:00 committed by Mark Andrews
parent 1695437f96
commit bbbc5af731

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,