summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/timeval.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/timeval.h')
-rw-r--r--libs/libcurl/src/timeval.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/libcurl/src/timeval.h b/libs/libcurl/src/timeval.h
index fb3f680c40..96867d7139 100644
--- a/libs/libcurl/src/timeval.h
+++ b/libs/libcurl/src/timeval.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -26,8 +26,10 @@
#if SIZEOF_TIME_T < 8
typedef int timediff_t;
+#define CURL_FORMAT_TIMEDIFF_T "d"
#else
typedef curl_off_t timediff_t;
+#define CURL_FORMAT_TIMEDIFF_T CURL_FORMAT_CURL_OFF_T
#endif
struct curltime {