projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ccef7
)
WIN64 needs off_t redefined too
author
Howard Chu
<hyc@openldap.org>
Wed, 20 Jan 2016 01:30:57 +0000
(
01:30
+0000)
committer
Howard Chu
<hyc@openldap.org>
Wed, 20 Jan 2016 01:30:57 +0000
(
01:30
+0000)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
e3eef1c
..
895ab95
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-35,7
+35,7
@@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
-#if
def MDB_VL32
+#if
defined(MDB_VL32) || defined(__WIN64__)
#define _FILE_OFFSET_BITS 64
#endif
#ifdef _WIN32