aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32select.c
diff options
context:
space:
mode:
authorEli Zaretskii2021-05-09 10:59:08 +0300
committerEli Zaretskii2021-05-09 10:59:08 +0300
commit4c3abb3dd105e075bf1cf55e3fe8b5ec2ac8e6cc (patch)
treec531859e29220e5976f5127fb712fbcec21ae917 /src/w32select.c
parent127f1f330b67228217fdcc0a552d37a33dc67bb9 (diff)
downloademacs-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/w32select.c')
-rw-r--r--src/w32select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32select.c b/src/w32select.c
index 58cbea9130d..4d72295a279 100644
--- a/src/w32select.c
+++ b/src/w32select.c
@@ -1207,7 +1207,7 @@ globals_of_w32select (void)
1207 QANSICP = coding_from_cp (ANSICP); 1207 QANSICP = coding_from_cp (ANSICP);
1208 QOEMCP = coding_from_cp (OEMCP); 1208 QOEMCP = coding_from_cp (OEMCP);
1209 1209
1210 if (os_subtype == OS_NT) 1210 if (os_subtype == OS_SUBTYPE_NT)
1211 Vselection_coding_system = Qutf_16le_dos; 1211 Vselection_coding_system = Qutf_16le_dos;
1212 else if (inhibit_window_system) 1212 else if (inhibit_window_system)
1213 Vselection_coding_system = QOEMCP; 1213 Vselection_coding_system = QOEMCP;