summaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-01-25 23:05:24 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-01-30 08:29:59 +0100
commit8f69a9f28abf98a10a50b3bae5ba319660de82ee (patch)
tree2b0eea6d076cd97763f0ce5dde7feed742cfe142 /lib/curl_setup.h
parent9caa3e248da91dc8964328b5b50491ba05df7bd4 (diff)
downloadcurl-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.h2
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