summaryrefslogtreecommitdiffstats
path: root/support/win32
diff options
context:
space:
mode:
authorMladen Turk <mturk@apache.org>2007-07-17 12:41:08 +0200
committerMladen Turk <mturk@apache.org>2007-07-17 12:41:08 +0200
commitd9438a393977f8c8191f2a8b46c1762c35065dec (patch)
tree00f36848886067ab5a6880d40ca49a6abce315c6 /support/win32
parentUpdated as per PR 40430. Later confirmed by Massimo Roscio by email to docs@h... (diff)
downloadapache2-d9438a393977f8c8191f2a8b46c1762c35065dec.tar.xz
apache2-d9438a393977f8c8191f2a8b46c1762c35065dec.zip
ApacheMonitor valid OS is any WIN32_NT version.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@556879 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/win32')
-rw-r--r--support/win32/ApacheMonitor.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c
index fb97922b55..54e936f241 100644
--- a/support/win32/ApacheMonitor.c
+++ b/support/win32/ApacheMonitor.c
@@ -280,10 +280,7 @@ BOOL GetSystemOSVersion(LPDWORD dwVersion)
switch (osvi.dwPlatformId)
{
case VER_PLATFORM_WIN32_NT:
- if (osvi.dwMajorVersion <= 4) {
- *dwVersion = OS_VERSION_WINNT;
- }
- else if (osvi.dwMajorVersion == 5) {
+ if (osvi.dwMajorVersion == 5) {
if (osvi.dwMinorVersion == 1)
*dwVersion = OS_VERSION_WINXP;
else
@@ -292,9 +289,8 @@ BOOL GetSystemOSVersion(LPDWORD dwVersion)
else if (osvi.dwMajorVersion == 6) {
*dwVersion = OS_VERSION_VISTA;
}
- else {
- return FALSE;
- }
+ else
+ *dwVersion = OS_VERSION_WINNT;
break;
case VER_PLATFORM_WIN32_WINDOWS: