summaryrefslogtreecommitdiff
path: root/src/mingw-compat.h
blob: b7919c2e8b2a974ab08537c358313435b0a5a714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef INCLUDE_mingw_compat__
#define INCLUDE_mingw_compat__

#if defined(__MINGW32__)

/* use a 64-bit file offset type */
# define lseek _lseeki64
# define stat _stati64
# define fstat _fstati64

#endif

#endif /* INCLUDE_mingw_compat__ */