From db58e29fa577d9e66e3319c30b5551a296d651a3 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 16 Jun 2026 13:53:18 +0200 Subject: [PATCH] main_window_proc --- tests/server/util.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/server/util.c b/tests/server/util.c index 23dd5225e2..7a57db863e 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -505,7 +505,14 @@ static LRESULT CALLBACK main_window_proc(HWND hwnd, UINT uMsg, break; } if(signum) { +#ifdef DEBUG_WIN32_CALLBACKS logmsg("main_window_proc: %u -> %d", uMsg, signum); +#else + static const char str[] = "main_window_proc\n"; + DWORD dwWritten; + WriteFile(GetStdHandle(STD_ERROR_HANDLE), str, sizeof(str) - 1, + &dwWritten, NULL); +#endif raise(signum); } }