mdbx: workaroud/fix for unused function 'osal_yield' from modern clang.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-10-31 19:03:09 +03:00
parent 11052d8af0
commit 4c20a61363

View File

@@ -171,7 +171,7 @@ typedef char pathchar_t;
#define MDBX_PRIsPATH "s"
#endif
static inline bool osal_yield(void) {
MDBX_MAYBE_UNUSED static inline bool osal_yield(void) {
#if defined(_WIN32) || defined(_WIN64)
return SleepEx(0, true) == WAIT_IO_COMPLETION;
#else