summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2010-08-26 06:10:54 +0000
committermturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2010-08-26 06:10:54 +0000
commit1c30ab399bbc1b1b5ac21d10b8425208f0b22246 (patch)
tree1ff3d65c29f9384bdcdd819a06ecc52ff6c72a9c /misc
parent645107e27334007475af593e937ad738e7056340 (diff)
downloadlibapr-1c30ab399bbc1b1b5ac21d10b8425208f0b22246.tar.gz
Add Windows 7 to the list of detected versions
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@989450 13f79535-47bb-0310-9956-ffa450edef68
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 8c3cb916c..965156128 100644
--- a/misc/win32/misc.c
+++ b/misc/win32/misc.c
@@ -98,7 +98,10 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level)
}
}
else if (oslev.dwMajorVersion == 6) {
- apr_os_level = APR_WIN_VISTA;
+ if (oslev.dwMinorVersion == 0)
+ apr_os_level = APR_WIN_VISTA;
+ else
+ apr_os_level = APR_WIN_7;
}
else {
apr_os_level = APR_WIN_XP;