summaryrefslogtreecommitdiff
path: root/includes/Rts.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Rts.h')
-rw-r--r--includes/Rts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Rts.h b/includes/Rts.h
index 501b9dcbfc..c52fe63d78 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -156,6 +156,8 @@ void _assertFail(const char *filename, unsigned int linenum)
#define TIME_RESOLUTION 1000000000
typedef StgInt64 Time;
+#define TIME_MAX HS_INT64_MAX
+
#if TIME_RESOLUTION == 1000000000
// I'm being lazy, but it's awkward to define fully general versions of these
#define TimeToUS(t) ((t) / 1000)