diff options
author | Patrick Griffis <tingping@tingping.se> | 2018-03-05 19:25:08 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2018-03-09 18:23:25 +0000 |
commit | e9b9ff9f38abc82c0a5002d5e58a5c226b698f82 (patch) | |
tree | a9fa9c40111985faae17348ce47293a048dd6bbb /src/common/dcc.c | |
parent | 9b8a7eaa0147c6a564c1d1401d57cc685461e320 (diff) |
Various fixes for mingw
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 */ |