WIN64 needs off_t redefined too

mdb.RE/0.9
Howard Chu 9 years ago committed by Hallvard Furuseth
parent c2f6f04dba
commit 369b99a460
  1. 3
      libraries/liblmdb/mdb.c

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

Loading…
Cancel
Save