WIN64 needs off_t redefined too

rawpart
Howard Chu 9 years ago
parent a6ccef73ed
commit 20dec1f69b
  1. 2
      libraries/liblmdb/mdb.c

@ -35,7 +35,7 @@
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
#define _GNU_SOURCE 1 #define _GNU_SOURCE 1
#endif #endif
#ifdef MDB_VL32 #if defined(MDB_VL32) || defined(__WIN64__)
#define _FILE_OFFSET_BITS 64 #define _FILE_OFFSET_BITS 64
#endif #endif
#ifdef _WIN32 #ifdef _WIN32

Loading…
Cancel
Save