Hash : e8cc449f Author : Date : 2010-02-19T21:49:22
win32: Add separate MinGW and MSVC compatability header files Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Download
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef INCLUDE_mingw_compat__ #define INCLUDE_mingw_compat__ #if defined(__MINGW32__) /* use a 64-bit file offset type */ # define off_t off64_t # define lseek _lseeki64 # define stat _stati64 # define fstat _fstati64 #endif #endif /* INCLUDE_mingw_compat__ */