]> 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)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 15 Jun 2016 18:40:07 +0000 (20:40 +0200)
libraries/liblmdb/mdb.c

index 1edc282b814ca220ca3b4e15a458b1e8320edcce..73c80da13cba4144d1656b4e0ff4db07fbf184e5 100644 (file)
@@ -35,6 +35,9 @@
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE 1
 #endif
+#if defined(__WIN64__)
+#define _FILE_OFFSET_BITS      64
+#endif
 #ifdef _WIN32
 #include <malloc.h>
 #include <windows.h>