summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2011-09-08 11:17:16 +0200
committerGuenter Knauf <lists@gknw.net>2011-09-08 11:17:16 +0200
commit443ab77e1fefcaa8bdcd94df79617b43c024248f (patch)
treee5269bd42fe6326bb1ee38f71a2865a9545e8e39
parent7b7c45879e5ec6fb2f531860f483197955b2aaea (diff)
downloadgnurl-443ab77e1fefcaa8bdcd94df79617b43c024248f.tar.gz
gnurl-443ab77e1fefcaa8bdcd94df79617b43c024248f.tar.bz2
gnurl-443ab77e1fefcaa8bdcd94df79617b43c024248f.zip
Avoid ftruncate() static define with MinGW64.
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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 */