aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2016-01-26 22:08:49 +0000
committerHoward Chu <hyc@symas.com>2016-01-27 14:14:02 +0000
commit78ad970a2cbe47b343146915d91408a276fd5c04 (patch)
tree4c5378c3ac219ec7e92ca7655dca65d99b966745 /external
parentupdated gtest (added missing files) (diff)
downloadmonero-78ad970a2cbe47b343146915d91408a276fd5c04.tar.xz
MDB_VL32 Fix d2a5f72f73e0e4030b521086b13b8c8efaf9ca9e
VirtualAlloc is not for MDB_VL32
Diffstat (limited to 'external')
-rw-r--r--external/db_drivers/liblmdb/mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/db_drivers/liblmdb/mdb.c b/external/db_drivers/liblmdb/mdb.c
index 4c9e22388..5efd74091 100644
--- a/external/db_drivers/liblmdb/mdb.c
+++ b/external/db_drivers/liblmdb/mdb.c
@@ -2428,7 +2428,7 @@ mdb_page_alloc(MDB_cursor *mc, int num, MDB_page **mp)
rc = MDB_MAP_FULL;
goto fail;
}
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(MDB_VL32)
if (!(env->me_flags & MDB_RDONLY)) {
void *p;
p = (MDB_page *)(env->me_map + env->me_psize * pgno);