summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/win32/misc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/win32/misc.c b/misc/win32/misc.c
index 0d72823c2..97b294711 100644
--- a/misc/win32/misc.c
+++ b/misc/win32/misc.c
@@ -80,7 +80,7 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level)
apr_os_level = APR_WIN_2000_SP2;
}
else if (oslev.dwMinorVersion == 2) {
- apr_os_level = APR_WIN_2003;
+ apr_os_level = APR_WIN_2003;
}
else {
if (servpack < 1)
@@ -91,6 +91,9 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level)
apr_os_level = APR_WIN_XP_SP2;
}
}
+ else if (oslev.dwMajorVersion == 6) {
+ apr_os_level = APR_WIN_VISTA;
+ }
else {
apr_os_level = APR_WIN_XP;
}