From d3224e7a4e46f14ea2ab83183bd526a95df1b941 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Tue, 20 Aug 2019 09:08:11 +0200 Subject: [PATCH] Fix linux/macos compilation --- src/widgets/AttachedWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/AttachedWindow.cpp b/src/widgets/AttachedWindow.cpp index 67aa94a10..10d4112bd 100644 --- a/src/widgets/AttachedWindow.cpp +++ b/src/widgets/AttachedWindow.cpp @@ -18,6 +18,7 @@ namespace chatterino { +#ifdef USEWINSDK static thread_local std::vector taskbarHwnds; BOOL CALLBACK enumWindows(HWND hwnd, LPARAM) @@ -37,6 +38,7 @@ BOOL CALLBACK enumWindows(HWND hwnd, LPARAM) return true; } +#endif AttachedWindow::AttachedWindow(void *_target, int _yOffset) : QWidget(nullptr, Qt::FramelessWindowHint | Qt::Window)