diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2008-10-16 15:34:16 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2008-10-16 15:34:16 (GMT) |
commit | b55f7a261f9aa57aca528e4f4e047e87a003b3fd (patch) | |
tree | c7f0578060c83006e758176be71b327dc2f2d703 /Source | |
parent | 45793aad16a3aad89d2817c180a0a522787f8435 (diff) | |
download | CMake-b55f7a261f9aa57aca528e4f4e047e87a003b3fd.zip CMake-b55f7a261f9aa57aca528e4f4e047e87a003b3fd.tar.gz CMake-b55f7a261f9aa57aca528e4f4e047e87a003b3fd.tar.bz2 |
ENH: oops
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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) |