aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2016-01-20 01:08:03 +0000
committerHoward Chu <hyc@symas.com>2016-01-20 01:26:26 +0000
commit1cff3974d8375a7b7c3a88de5718f97537cd75a5 (patch)
tree08a54f8cfa845ce358e56a51705632042cbe3bb0 /external/db_drivers/liblmdb
parentMerge pull request #614 (diff)
downloadmonero-1cff3974d8375a7b7c3a88de5718f97537cd75a5.tar.xz
WIN64 needs off_t redefined too
Diffstat (limited to 'external/db_drivers/liblmdb')
-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 5d57f8b15..4c9e22388 100644
--- a/external/db_drivers/liblmdb/mdb.c
+++ b/external/db_drivers/liblmdb/mdb.c
@@ -35,7 +35,7 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
-#ifdef MDB_VL32
+#if defined(MDB_VL32) || defined(__WIN64__)
#define _FILE_OFFSET_BITS 64
#endif
#ifdef _WIN32