summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/timer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opentrack/timer.hpp b/opentrack/timer.hpp
index 628365c9..93c0a1f4 100644
--- a/opentrack/timer.hpp
+++ b/opentrack/timer.hpp
@@ -2,6 +2,7 @@
#include <ctime>
#if defined (_WIN32)
# include <windows.h>
+# define CLOCK_MONOTONIC -1
static inline void opentrack_clock_gettime(int, struct timespec* ts)
{
static LARGE_INTEGER freq;