From b55f7a261f9aa57aca528e4f4e047e87a003b3fd Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Thu, 16 Oct 2008 11:34:16 -0400 Subject: ENH: oops --- Source/kwsys/SystemTools.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 2c2b0dc..8de4d94 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -4172,6 +4172,7 @@ kwsys_stl::string SystemTools::GetOperatingSystemNameAndVersion() if (osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 0) { +#if (_MSC_VER >= 1300) if (osvi.wProductType == VER_NT_WORKSTATION) { res += "Microsoft Windows Vista"; @@ -4180,6 +4181,9 @@ kwsys_stl::string SystemTools::GetOperatingSystemNameAndVersion() { res += "Microsoft Windows Server 2008 family"; } +#else + res += "Microsoft Windows Vista or Windows Server 2003"; +#endif } if (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2) -- cgit v0.12