aboutsummaryrefslogtreecommitdiffstats
path: root/src/dynlib.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/dynlib.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/dynlib.c')
-rw-r--r--src/dynlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynlib.c b/src/dynlib.c
index 86f8b7e2063..62fc16e180d 100644
--- a/src/dynlib.c
+++ b/src/dynlib.c
@@ -135,7 +135,7 @@ dynlib_addr (void (*funcptr) (void), const char **fname, const char **symname)
135 void *addr = (void *) funcptr; 135 void *addr = (void *) funcptr;
136 136
137 /* Step 1: Find the handle of the module where ADDR lives. */ 137 /* Step 1: Find the handle of the module where ADDR lives. */
138 if (os_subtype == OS_9X 138 if (os_subtype == OS_SUBTYPE_9X
139 /* Windows NT family version before XP (v5.1). */ 139 /* Windows NT family version before XP (v5.1). */
140 || ((w32_major_version + (w32_minor_version > 0)) < 6)) 140 || ((w32_major_version + (w32_minor_version > 0)) < 6))
141 { 141 {