From ef52992e7e61132c67ff91d8487b46c654f55a2c Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 21 Jan 2022 16:42:38 +0000 Subject: build: move to cmkr --- include/soyuz/library.hh | 2 +- include/soyuz/tray.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/soyuz/library.hh b/include/soyuz/library.hh index db88870..c71fdc4 100644 --- a/include/soyuz/library.hh +++ b/include/soyuz/library.hh @@ -20,7 +20,7 @@ namespace soyuz { // high, // red // }; -static auto enum_windows_proc(HWND hwnd, LPARAM lparam) -> BOOL; +static BOOL CALLBACK enum_windows_proc(HWND hwnd, LPARAM lparam); auto find_lunar() -> DWORD; auto delete_handle(DWORD pid) -> int; auto write_log_file(const std::string &message) -> void; diff --git a/include/soyuz/tray.hh b/include/soyuz/tray.hh index 4dc360c..6cca253 100644 --- a/include/soyuz/tray.hh +++ b/include/soyuz/tray.hh @@ -12,7 +12,7 @@ #define LOG(message) logs.emplace_back(message); -auto WindowProcedure(HWND, UINT, WPARAM, LPARAM) -> LRESULT; // CALLBACK +LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); auto minimize() -> void; auto restore() -> void; auto InitNotifyIconData() -> void; -- cgit v1.2.3