From c1e06681496ac075b1f8ce5e893f2dd10e099eb7 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Mon, 22 Jun 1998 17:33:05 +0000 Subject: [PATCH] (initialize_w32_display): Call init_crit to initialize interrupt_handle (referenced by sys_select). --- src/w32console.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/w32console.c b/src/w32console.c index 8aec92389f2..eef845fe020 100644 --- a/src/w32console.c +++ b/src/w32console.c @@ -528,6 +528,9 @@ initialize_w32_display (void) read_socket_hook = w32_console_read_socket; mouse_position_hook = w32_console_mouse_position; + /* Initialize interrupt_handle. */ + init_crit (); + /* Remember original console settings. */ keyboard_handle = GetStdHandle (STD_INPUT_HANDLE); GetConsoleMode (keyboard_handle, &prev_console_mode); -- 2.39.2