From 1cff3974d8375a7b7c3a88de5718f97537cd75a5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 20 Jan 2016 01:08:03 +0000 Subject: WIN64 needs off_t redefined too --- external/db_drivers/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external/db_drivers/liblmdb') 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 -- cgit v1.2.3