diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-19 14:05:38 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-19 14:05:38 +0100 |
commit | b47b4debd380a8762e0a35810ab219765b82935d (patch) | |
tree | c222049be2ba1956830a5aa7b1ccb3645bad5524 | |
parent | f46435fd924770bac48266c80075b430fd82c311 (diff) |
fix build with recent mingw-w64
-rw-r--r-- | opentrack/timer.hpp | 1 |
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; |