diff options
| author | Eli Zaretskii | 2021-05-09 10:59:08 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-05-09 10:59:08 +0300 |
| commit | 4c3abb3dd105e075bf1cf55e3fe8b5ec2ac8e6cc (patch) | |
| tree | c531859e29220e5976f5127fb712fbcec21ae917 /src/w32console.c | |
| parent | 127f1f330b67228217fdcc0a552d37a33dc67bb9 (diff) | |
| download | emacs-4c3abb3dd105e075bf1cf55e3fe8b5ec2ac8e6cc.tar.gz emacs-4c3abb3dd105e075bf1cf55e3fe8b5ec2ac8e6cc.zip | |
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)
Diffstat (limited to 'src/w32console.c')
| -rw-r--r-- | src/w32console.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 803 | ceol_initialized = FALSE; | 803 | ceol_initialized = FALSE; |
| 804 | } | 804 | } |
| 805 | 805 | ||
| 806 | if (os_subtype == OS_NT) | 806 | if (os_subtype == OS_SUBTYPE_NT) |
| 807 | w32_console_unicode_input = 1; | 807 | w32_console_unicode_input = 1; |
| 808 | else | 808 | else |
| 809 | w32_console_unicode_input = 0; | 809 | w32_console_unicode_input = 0; |