Fixes MIDIPlay on Haiku

Signed-off-by: Avery King <gperson@disroot.org>
This commit is contained in:
Avery King
2025-03-17 20:37:02 -07:00
parent 7fae30b0ff
commit eb7546412f

View File

@@ -485,7 +485,7 @@ static double streamStartTime = 0; // bias system time to small number
static double SystemTime(bool usingAlsa) static double SystemTime(bool usingAlsa)
{ {
#ifdef __WXGTK__ #if defined(__WXGTK__) && !defined(__HAIKU__)
if (usingAlsa) { if (usingAlsa) {
struct timespec now; struct timespec now;
// CLOCK_MONOTONIC_RAW is unaffected by NTP or adj-time // CLOCK_MONOTONIC_RAW is unaffected by NTP or adj-time