mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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:
commit
d30fdf063c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue