summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-09-14 18:30:57 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-09-14 18:31:14 +0300
commitab3261f901d34fab154c63edd3248c6231dc0798 (patch)
treecf487965abc0ecdd07a83f7626643d356858f133 /indra/llcommon
parent9a3f836a8bbfa25dac484fb8ae8572039a24e401 (diff)
SL-15997 Windows 11 version detection
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llsys.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llcommon/llsys.cpp b/indra/llcommon/llsys.cpp
index 4e61fb8a58..94f669b0f9 100644
--- a/indra/llcommon/llsys.cpp
+++ b/indra/llcommon/llsys.cpp
@@ -140,7 +140,13 @@ LLOSInfo::LLOSInfo() :
#if LL_WINDOWS
- if (IsWindowsVersionOrGreater(10, 0, 0))
+ if (IsWindowsVersionOrGreater(11, 0, 0))
+ {
+ mMajorVer = 11;
+ mMinorVer = 0;
+ mOSStringSimple = "Microsoft Windows 11 ";
+ }
+ else if (IsWindows10OrGreater())
{
mMajorVer = 10;
mMinorVer = 0;