summaryrefslogtreecommitdiff
path: root/src/dynlib.c
diff options
context:
space:
mode:
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)
void *addr = (void *) funcptr;
/* Step 1: Find the handle of the module where ADDR lives. */
- if (os_subtype == OS_9X
+ if (os_subtype == OS_SUBTYPE_9X
/* Windows NT family version before XP (v5.1). */
|| ((w32_major_version + (w32_minor_version > 0)) < 6))
{