From acff275f6b21357c0e6cdcd0e15983936f566315 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 3 Apr 2021 03:03:42 +1000 Subject: [PATCH] WindowInfo: Fix macOS build --- src/common/window_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/window_info.cpp b/src/common/window_info.cpp index 7d88ab3f3..65c8a51b7 100644 --- a/src/common/window_info.cpp +++ b/src/common/window_info.cpp @@ -83,7 +83,7 @@ bool WindowInfo::QueryRefreshRateForWindow(const WindowInfo& wi, float* refresh_ return GetRefreshRateFromDWM(hwnd, refresh_rate) || GetRefreshRateFromMonitor(hwnd, refresh_rate); } -#elif defined(__linux__) +#else #ifdef USE_X11