diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-01-25 23:05:24 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-01-30 08:29:59 +0100 |
commit | 8f69a9f28abf98a10a50b3bae5ba319660de82ee (patch) | |
tree | 2b0eea6d076cd97763f0ce5dde7feed742cfe142 /lib/curl_setup.h | |
parent | 9caa3e248da91dc8964328b5b50491ba05df7bd4 (diff) | |
download | curl-8f69a9f28abf98a10a50b3bae5ba319660de82ee.tar.gz |
time: support > year 2038 time stamps for system with 32bit long
... with the introduction of CURLOPT_TIMEVALUE_LARGE and
CURLINFO_FILETIME_T.
Fixes #2238
Closes #2264
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r-- | lib/curl_setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 100b8d40f..ecc0bb3df 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -438,7 +438,7 @@ # define TIME_T_MIN 0 # else # define TIME_T_MAX 0x7FFFFFFFFFFFFFFF -# define TIME_T_MIN -0x10000000000000000 +# define TIME_T_MIN (-TIME_T_MAX - 1) # endif #endif |