]> granicus.if.org Git - curl/commitdiff
Avoid ftruncate() static define with MinGW64.
authorGuenter Knauf <lists@gknw.net>
Thu, 8 Sep 2011 09:17:16 +0000 (11:17 +0200)
committerGuenter Knauf <lists@gknw.net>
Thu, 8 Sep 2011 09:17:16 +0000 (11:17 +0200)
src/main.c

index 4f5fd917744e53f2083aa72575196b02930e2cc0..3c3d99f98b8512422bec2237eba904905881ca44 100644 (file)
@@ -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 */