diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-21 19:17:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-21 19:17:26 +0300 |
commit | dcf9b115274faa6ac32550dc3578bb03e178a5c6 (patch) | |
tree | ffb1bf0de1c52a8485e7fd93fe7a3a1ff7cd2e3a /plugins/Dbx_mdbx/src | |
parent | 983debf2db56122f1f3b63288dd1d683f4d516cb (diff) |
compilation fix
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r-- | plugins/Dbx_mdbx/src/libmdbx/src/osal.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |