]> git.sur5r.net Git - openldap/commitdiff
WIN64 needs off_t redefined too
authorHoward Chu <hyc@openldap.org>
Wed, 20 Jan 2016 01:30:57 +0000 (01:30 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 20 Jan 2016 01:30:57 +0000 (01:30 +0000)
libraries/liblmdb/mdb.c

index e3eef1cc210d190bd0c2d3282f7d01181367df96..895ab952b604347b0c12333d1fd8fd892cc1626b 100644 (file)
@@ -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