mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:24:12 +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 */
|
#endif /* MDBX_BUILD_FLAGS */
|
||||||
#if !(defined(MDBX_BUILD_FLAGS_CONFIG) || defined(MDBX_BUILD_FLAGS))
|
#if !(defined(MDBX_BUILD_FLAGS_CONFIG) || defined(MDBX_BUILD_FLAGS))
|
||||||
"undefined (please use correct build script)"
|
"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"
|
#warning "Build flags undefined. Please use correct build script"
|
||||||
|
#endif // _MSC_VER
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -733,7 +733,11 @@ static int __cold mdbx_ipclock_failed(MDBX_env *env, mdbx_ipclock_t *ipc,
|
|||||||
#elif MDBX_LOCKING == MDBX_LOCKING_POSIX1988
|
#elif MDBX_LOCKING == MDBX_LOCKING_POSIX1988
|
||||||
(void)ipc;
|
(void)ipc;
|
||||||
#elif MDBX_LOCKING == MDBX_LOCKING_FUTEX
|
#elif MDBX_LOCKING == MDBX_LOCKING_FUTEX
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma message("warning: TODO")
|
||||||
|
#else
|
||||||
#warning "TODO"
|
#warning "TODO"
|
||||||
|
#endif
|
||||||
(void)ipc;
|
(void)ipc;
|
||||||
#else
|
#else
|
||||||
#error "FIXME"
|
#error "FIXME"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user