Browse Source

Fix build against old linux distros

tags/v2.1-rc1
falkTX 5 years ago
parent
commit
c88cf0b386
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>; using ClockMonotonic = Clock<CLOCK_MONOTONIC>;
#ifdef CLOCK_MONOTONIC_RAW
using ClockMonotonicRaw = Clock<CLOCK_MONOTONIC_RAW>; using ClockMonotonicRaw = Clock<CLOCK_MONOTONIC_RAW>;
#endif


} // namespace linux } // namespace linux
} // namespace platforms } // namespace platforms


Loading…
Cancel
Save