mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-06 19:08:56 +08:00
mdbx: workaroud/fix for unused function 'osal_yield' from modern clang.
This commit is contained in:
@@ -171,7 +171,7 @@ typedef char pathchar_t;
|
|||||||
#define MDBX_PRIsPATH "s"
|
#define MDBX_PRIsPATH "s"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline bool osal_yield(void) {
|
MDBX_MAYBE_UNUSED static inline bool osal_yield(void) {
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
return SleepEx(0, true) == WAIT_IO_COMPLETION;
|
return SleepEx(0, true) == WAIT_IO_COMPLETION;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user