diff options
Diffstat (limited to 'src/common/dcc.c')
-rw-r--r-- | src/common/dcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/dcc.c b/src/common/dcc.c index 954e6b91..e26a2916 100644 --- a/src/common/dcc.c +++ b/src/common/dcc.c @@ -59,8 +59,8 @@ #include "hexchatc.h" /* Setting _FILE_OFFSET_BITS to 64 doesn't change lseek to use off64_t on Windows, so override lseek to the version that does */ -#ifdef WIN32 -#define lseek _lseeki64 +#if defined(WIN32) && (!defined(__MINGW32__) && !defined(__MINGW64__)) + #define lseek _lseeki64 #endif /* interval timer to detect timeouts */ |