summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-19 14:05:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-19 14:05:38 +0100
commitb47b4debd380a8762e0a35810ab219765b82935d (patch)
treec222049be2ba1956830a5aa7b1ccb3645bad5524 /opentrack
parentf46435fd924770bac48266c80075b430fd82c311 (diff)
fix build with recent mingw-w64
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;