summaryrefslogtreecommitdiff
path: root/lib/timeval.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timeval.h')
-rw-r--r--lib/timeval.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/timeval.h b/lib/timeval.h
index b2878a634..fb3f680c4 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -27,15 +27,7 @@
#if SIZEOF_TIME_T < 8
typedef int timediff_t;
#else
-/* use a suitable 64 bit type */
-#ifdef HAVE_LONGLONG
-typedef long long timediff_t;
-#elif defined(_MSC_VER) && (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
-typedef __int64 timediff_t;
-#else
-/* hopeless case */
-typedef long timediff_t;
-#endif
+typedef curl_off_t timediff_t;
#endif
struct curltime {