diff --git a/src/core.c b/src/core.c index 3ff00df9..51c01a43 100644 --- a/src/core.c +++ b/src/core.c @@ -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 }; diff --git a/src/lck-posix.c b/src/lck-posix.c index f908cb6f..56d53eb9 100644 --- a/src/lck-posix.c +++ b/src/lck-posix.c @@ -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"