mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
tool_cb_see.c: WinCE build adjustment
This commit is contained in:
parent
5a8649863c
commit
599a2c1f1a
@ -108,6 +108,14 @@ int tool_seek_cb(void *userdata, curl_off_t offset, int whence)
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32_WCE
|
||||||
|
/* 64-bit lseek-like function unavailable */
|
||||||
|
# undef _lseeki64
|
||||||
|
# define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
|
||||||
|
# undef _get_osfhandle
|
||||||
|
# define _get_osfhandle(fd) (fd)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Truncate a file handle at a 64-bit position 'where'.
|
* Truncate a file handle at a 64-bit position 'where'.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user