aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-01-21 16:42:38 -0800
committerFuwn <[email protected]>2022-01-21 16:42:38 -0800
commitf303c65b2935cc54ef88a87f3e0511b8ff0c07e3 (patch)
treea349ebb5de4a98116dd4066e7ebc053370301a32 /include
parentfix(.gitignore): ignore all build directories (diff)
downloadsoyuz-f303c65b2935cc54ef88a87f3e0511b8ff0c07e3.tar.xz
soyuz-f303c65b2935cc54ef88a87f3e0511b8ff0c07e3.zip
build: move to cmkr
Diffstat (limited to 'include')
-rw-r--r--include/soyuz/library.hh2
-rw-r--r--include/soyuz/tray.hh2
2 files changed, 2 insertions, 2 deletions
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;