summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorivan <ivan@13f79535-47bb-0310-9956-ffa450edef68>2019-06-11 17:14:41 +0000
committerivan <ivan@13f79535-47bb-0310-9956-ffa450edef68>2019-06-11 17:14:41 +0000
commitb4ed4d2776df502f18d53a9a6529ffe11e839305 (patch)
tree3755cda8831a3b42eda8d893f7924504300393eb /misc
parent6139b56893e2dcc6748551b8a7b484608fef328a (diff)
downloadlibapr-b4ed4d2776df502f18d53a9a6529ffe11e839305.tar.gz
* include/arch/win32/apr_arch_misc.h
(enum apr_oslevel_e): Add APR_WIN_8_1. * misc/win32/misc.c (apr_get_oslevel): Determine whether we are running on Windows 8 or on Windows 8.1+. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1861053 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r--misc/win32/misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/win32/misc.c b/misc/win32/misc.c
index 6f0b22f33..971c38cde 100644
--- a/misc/win32/misc.c
+++ b/misc/win32/misc.c
@@ -91,8 +91,10 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level)
apr_os_level = APR_WIN_VISTA;
else if (oslev.dwMinorVersion == 1)
apr_os_level = APR_WIN_7;
- else
+ else if (oslev.dwMinorVersion == 2)
apr_os_level = APR_WIN_8;
+ else
+ apr_os_level = APR_WIN_8_1;
}
else {
apr_os_level = APR_WIN_XP;