From b47b4debd380a8762e0a35810ab219765b82935d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 19 Nov 2014 14:05:38 +0100 Subject: fix build with recent mingw-w64 --- opentrack/timer.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'opentrack') 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 #if defined (_WIN32) # include +# define CLOCK_MONOTONIC -1 static inline void opentrack_clock_gettime(int, struct timespec* ts) { static LARGE_INTEGER freq; -- cgit v1.2.3