From: Guenter Knauf Date: Thu, 8 Sep 2011 09:17:16 +0000 (+0200) Subject: Avoid ftruncate() static define with MinGW64. X-Git-Tag: curl-7_22_0~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=443ab77e1fefcaa8bdcd94df79617b43c024248f;p=curl Avoid ftruncate() static define with MinGW64. --- diff --git a/src/main.c b/src/main.c index 4f5fd9177..3c3d99f98 100644 --- a/src/main.c +++ b/src/main.c @@ -434,7 +434,7 @@ char convert_char(curl_infotype infotype, char this_char) } #endif /* CURL_DOES_CONVERSIONS */ -#ifdef WIN32 +#if defined(WIN32) && !defined(__MINGW64__) #ifdef __BORLANDC__ /* 64-bit lseek-like function unavailable */