aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cb_see.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_cb_see.c')
-rw-r--r--src/tool_cb_see.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cb_see.c b/src/tool_cb_see.c
index 99be273d1..a0ddc00ed 100644
--- a/src/tool_cb_see.c
+++ b/src/tool_cb_see.c
@@ -88,7 +88,7 @@ int tool_seek_cb(void *userdata, curl_off_t offset, int whence)
return CURL_SEEKFUNC_OK;
}
-#if defined(WIN32) && !defined(__MINGW64__)
+#ifdef USE_TOOL_FTRUNCATE
#ifdef __BORLANDC__
/* 64-bit lseek-like function unavailable */
@@ -129,4 +129,4 @@ int tool_ftruncate64(int fd, curl_off_t where)
return 0;
}
-#endif /* WIN32 && ! __MINGW64__ */
+#endif /* USE_TOOL_FTRUNCATE */