From 20dec1f69bf4860202c764ce92b1fbbe3d11a065 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 20 Jan 2016 01:30:57 +0000 Subject: [PATCH] WIN64 needs off_t redefined too --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index e3eef1cc21..895ab952b6 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/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 -- 2.39.5