mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[common] properly detect all versions of Windows 8
This commit is contained in:
parent
5db4c32035
commit
b8203bec53
@ -60,5 +60,7 @@ inline static BOOL CompareWindowsVersion(DWORD dwMajorVersion, DWORD dwMinorVers
|
|||||||
|
|
||||||
bool IsWindows8()
|
bool IsWindows8()
|
||||||
{
|
{
|
||||||
return CompareWindowsVersion(6, 3) == TRUE;
|
return
|
||||||
|
(CompareWindowsVersion(6, 3) == TRUE) ||
|
||||||
|
(CompareWindowsVersion(6, 2) == TRUE);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user