From dcf9b115274faa6ac32550dc3578bb03e178a5c6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Jun 2018 19:17:26 +0300 Subject: compilation fix --- plugins/Dbx_mdbx/src/libmdbx/src/osal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Dbx_mdbx/src/libmdbx/src/osal.c b/plugins/Dbx_mdbx/src/libmdbx/src/osal.c index 8b6094d55b..56df979872 100644 --- a/plugins/Dbx_mdbx/src/libmdbx/src/osal.c +++ b/plugins/Dbx_mdbx/src/libmdbx/src/osal.c @@ -856,7 +856,7 @@ int mdbx_mmap(int flags, mdbx_mmap_t *map, size_t size, size_t limit) { map->section = NULL; map->address = nullptr; - if (flags & MDBX_EXCLUSIVE) { + if (!(flags & MDBX_EXCLUSIVE)) { NTSTATUS rc = mdbx_check4nonlocal(map->fd, flags); if (rc != MDBX_SUCCESS) return rc; -- cgit v1.2.3