Skip to content

Commit 20dec1f

Browse files
committed
WIN64 needs off_t redefined too
1 parent a6ccef7 commit 20dec1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libraries/liblmdb/mdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#ifndef _GNU_SOURCE
3636
#define _GNU_SOURCE 1
3737
#endif
38-
#ifdef MDB_VL32
38+
#if defined(MDB_VL32) || defined(__WIN64__)
3939
#define _FILE_OFFSET_BITS 64
4040
#endif
4141
#ifdef _WIN32

0 commit comments

Comments
 (0)