From 4e4088c27c2a432faea4c0b57f6dccbbf04e6971 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 26 Jan 2023 16:30:02 +0530 Subject: [PATCH] ... --- src/calibre/utils/windows/winspeech.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/utils/windows/winspeech.cpp b/src/calibre/utils/windows/winspeech.cpp index 64e89195be..40fdc45b2a 100644 --- a/src/calibre/utils/windows/winspeech.cpp +++ b/src/calibre/utils/windows/winspeech.cpp @@ -37,6 +37,7 @@ using namespace winrt::Windows::Storage::Streams; typedef uint64_t id_type; static std::mutex output_lock; +static DWORD main_thread_id; template static void __debug_multiple(T x, Args... args) { @@ -59,7 +60,6 @@ debug(Args... args) { } static std::atomic_bool main_loop_is_running; -static DWORD main_thread_id; enum { STDIN_FAILED = 1, STDIN_MSG,