mirror of
https://github.com/curl/curl.git
synced 2026-08-26 06:43:31 +03:00
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
This commit is contained in:
parent
ec8ee4404b
commit
4f5a6a33b4
3 changed files with 9 additions and 9 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue