WIN64 needs off_t redefined too

This commit is contained in:
Howard Chu 2016-01-20 01:30:57 +00:00 committed by Hallvard Furuseth
parent c2f6f04dba
commit 369b99a460

View 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>