mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-20 15:35:01 +08:00
mdbx: использование __has_c_attribute() и __has_cxx_attribute(), добавление __has_C23_or_CXX_attribute().
This commit is contained in:
@@ -282,7 +282,7 @@ struct actor_params_pod {
|
||||
// FIXME: TODO
|
||||
return 0;
|
||||
}
|
||||
static MDBX_PURE_FUNCTION uint64_t serial_mask(unsigned bits) {
|
||||
MDBX_PURE_FUNCTION static uint64_t serial_mask(unsigned bits) {
|
||||
assert(bits > 0 && bits <= 64);
|
||||
return (~(uint64_t)0u) >> (64 - bits);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user