aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-16 18:09:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-16 18:09:27 +0000
commit4f5a6a33b46f9c389e6cfcd822c6fc874a3a9752 (patch)
treebd4fe68cf760501e19d63ea55bec00079b4e949c /lib/file.c
parentec8ee4404becaa918bfaf1677088e662f939d74b (diff)
moved the lseek() and stat() magic defines to setup.h and now take advantage
of struct_stat in formdata.c as well, to support formpost uploads of large files on Windows too
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/file.c b/lib/file.c
index 6b2bbd161..267a99ba0 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -167,14 +167,6 @@ CURLcode Curl_file_connect(struct connectdata *conn)
return CURLE_OK;
}
-#if defined(WIN32) && (SIZEOF_CURL_OFF_T > 4)
-#define lseek(x,y,z) _lseeki64(x, y, z)
-#define struct_stat struct _stati64
-#define fstat(fd,st) _fstati64(fd,st)
-#else
-#define struct_stat struct stat
-#endif
-
CURLcode Curl_file_done(struct connectdata *conn,
CURLcode status)
{