Commit c1e06681 authored by Andrew Innes's avatar Andrew Innes
Browse files

(initialize_w32_display): Call init_crit to initialize

interrupt_handle (referenced by sys_select).
parent 3ce36200
...@@ -528,6 +528,9 @@ initialize_w32_display (void) ...@@ -528,6 +528,9 @@ initialize_w32_display (void)
read_socket_hook = w32_console_read_socket; read_socket_hook = w32_console_read_socket;
mouse_position_hook = w32_console_mouse_position; mouse_position_hook = w32_console_mouse_position;
/* Initialize interrupt_handle. */
init_crit ();
/* Remember original console settings. */ /* Remember original console settings. */
keyboard_handle = GetStdHandle (STD_INPUT_HANDLE); keyboard_handle = GetStdHandle (STD_INPUT_HANDLE);
GetConsoleMode (keyboard_handle, &prev_console_mode); GetConsoleMode (keyboard_handle, &prev_console_mode);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment