summaryrefslogtreecommitdiff
path: root/src/lib/time/compat_time.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-20 10:43:08 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-20 10:43:08 -0400
commit1f377e910f89753f6e64a4f9ddc2ff9c35d1e341 (patch)
tree44144764cc26c0a984bd9b0bc5075dc0bcd0be28 /src/lib/time/compat_time.h
parent119159677be14351ebcae647d3988f4f2fd9eb72 (diff)
parent163230e2405af394ce3684dc7fdf2475bf1318b0 (diff)
downloadtor-1f377e910f89753f6e64a4f9ddc2ff9c35d1e341.tar.gz
tor-1f377e910f89753f6e64a4f9ddc2ff9c35d1e341.zip
Merge branch 'maint-0.3.4'
Diffstat (limited to 'src/lib/time/compat_time.h')
-rw-r--r--src/lib/time/compat_time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/time/compat_time.h b/src/lib/time/compat_time.h
index 4427ce8f92..44fab62de5 100644
--- a/src/lib/time/compat_time.h
+++ b/src/lib/time/compat_time.h
@@ -200,6 +200,7 @@ monotime_coarse_diff_msec32(const monotime_coarse_t *start,
// on a 64-bit platform, let's assume 64/64 division is cheap.
return (int32_t) monotime_coarse_diff_msec(start, end);
#else
+#define USING_32BIT_MSEC_HACK
return monotime_coarse_diff_msec32_(start, end);
#endif
}