Skip to content
Snippets Groups Projects
Commit 02babe8a authored by Sebastien Barre's avatar Sebastien Barre
Browse files

ENH: oops

parent 659cee66
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -7,4 +7,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2008)
SET(KWSYS_DATE_STAMP_MONTH 10)
# KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 15)
SET(KWSYS_DATE_STAMP_DAY 16)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment