Browse Source

hylia: test for CLOCK_MONOTONIC_RAW before using it

tags/1.9.8
falkTX 8 years ago
parent
commit
4ccc0f3cc9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      source/modules/hylia/link/ableton/platforms/linux/Clock.hpp

+ 2
- 0
source/modules/hylia/link/ableton/platforms/linux/Clock.hpp View File

@@ -49,7 +49,9 @@ public:
};

using ClockMonotonic = Clock<CLOCK_MONOTONIC>;
#ifdef CLOCK_MONOTONIC_RAW
using ClockMonotonicRaw = Clock<CLOCK_MONOTONIC_RAW>;
#endif

/* Warning: the realtime clock can be subject to time change.
* One of the hard requirements of Ableton Link is that the clock must be


Loading…
Cancel
Save