aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-01-20 15:44:31 +0200
committerRiccardo Spagni <ric@spagni.net>2016-01-20 15:44:31 +0200
commite75cfe088fc469e031021f448e7c774c5e40b055 (patch)
tree33197814d47ac2bf9cb182888c078a722e9f61f0
parentMerge pull request #615 (diff)
parentWIN64 needs off_t redefined too (diff)
downloadmonero-e75cfe088fc469e031021f448e7c774c5e40b055.tar.xz
Merge pull request #616
1cff397 WIN64 needs off_t redefined too (Howard Chu)
-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