From 4c3abb3dd105e075bf1cf55e3fe8b5ec2ac8e6cc Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 9 May 2021 10:59:08 +0300 Subject: Fix compilation errors with latest w32 API headers * src/w32common.h: Rename OS_* to OS_SUBTYPE__*, as w32 API headers started defining OS_NT, which breaks the use of the enumeration. All users changed. (Bug#48303) --- src/w32console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/w32console.c') diff --git a/src/w32console.c b/src/w32console.c index cb9e288e880..99546c2d754 100644 --- a/src/w32console.c +++ b/src/w32console.c @@ -803,7 +803,7 @@ initialize_w32_display (struct terminal *term, int *width, int *height) ceol_initialized = FALSE; } - if (os_subtype == OS_NT) + if (os_subtype == OS_SUBTYPE_NT) w32_console_unicode_input = 1; else w32_console_unicode_input = 0; -- cgit v1.2.3