mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:34:13 +08:00
mdbx: minor fix msvc build (#117).
This commit is contained in:
parent
3fb12d1f5f
commit
efe400264f
@ -19116,7 +19116,11 @@ __dll_export
|
||||
#endif /* MDBX_BUILD_FLAGS */
|
||||
#if !(defined(MDBX_BUILD_FLAGS_CONFIG) || defined(MDBX_BUILD_FLAGS))
|
||||
"undefined (please use correct build script)"
|
||||
#ifdef _MSC_VER
|
||||
#pragma message("warning: Build flags undefined. Please use correct build script")
|
||||
#else
|
||||
#warning "Build flags undefined. Please use correct build script"
|
||||
#endif // _MSC_VER
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@ -733,7 +733,11 @@ static int __cold mdbx_ipclock_failed(MDBX_env *env, mdbx_ipclock_t *ipc,
|
||||
#elif MDBX_LOCKING == MDBX_LOCKING_POSIX1988
|
||||
(void)ipc;
|
||||
#elif MDBX_LOCKING == MDBX_LOCKING_FUTEX
|
||||
#ifdef _MSC_VER
|
||||
#pragma message("warning: TODO")
|
||||
#else
|
||||
#warning "TODO"
|
||||
#endif
|
||||
(void)ipc;
|
||||
#else
|
||||
#error "FIXME"
|
||||
|
Loading…
x
Reference in New Issue
Block a user