mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
timeval: make timediff_t also work on 32bit windows
... by using curl_off_t for the typedef if time_t is larger than 4
bytes.
Reported-by: Gisle Vanem
Bug: b9d25f9a6b (co)
mmitcomment-25205058
Closes #2019
This commit is contained in:
parent
f0364f7e31
commit
788d333573
@ -27,7 +27,7 @@
|
||||
#if SIZEOF_TIME_T < 8
|
||||
typedef int timediff_t;
|
||||
#else
|
||||
typedef ssize_t timediff_t;
|
||||
typedef curl_off_t timediff_t;
|
||||
#endif
|
||||
|
||||
struct curltime {
|
||||
|
Loading…
Reference in New Issue
Block a user