From: Howard Chu Date: Wed, 20 Jan 2016 01:30:57 +0000 (+0000) Subject: WIN64 needs off_t redefined too X-Git-Tag: LMDB_0.9.19~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=369b99a46099fdca33ba86b530c1bed2ed098f92;p=openldap WIN64 needs off_t redefined too --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 1edc282b81..73c80da13c 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -35,6 +35,9 @@ #ifndef _GNU_SOURCE #define _GNU_SOURCE 1 #endif +#if defined(__WIN64__) +#define _FILE_OFFSET_BITS 64 +#endif #ifdef _WIN32 #include #include