MAINT-2850 Fix for linux build

meow-7.2.2
dmitry 2013-08-22 11:38:42 +03:00
parent 6fe5edf031
commit a6672034b8
1 changed files with 2 additions and 0 deletions

View File

@ -218,6 +218,7 @@ static bool regex_search_no_exc(const S& string, M& match, const R& regex)
}
}
#if LL_WINDOWS
// GetVersionEx should not works correct with Windows 8.1 and the later version. We need to check this case
static bool check_for_version(WORD wMajorVersion, WORD wMinorVersion, WORD wServicePackMajor)
{
@ -235,6 +236,7 @@ static bool check_for_version(WORD wMajorVersion, WORD wMinorVersion, WORD wServ
return VerifyVersionInfoW(&osvi, VER_MAJORVERSION | VER_MINORVERSION | VER_SERVICEPACKMAJOR, dwlConditionMask) != FALSE;
}
#endif
LLOSInfo::LLOSInfo() :