From ab3261f901d34fab154c63edd3248c6231dc0798 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Tue, 14 Sep 2021 18:30:57 +0300 Subject: SL-15997 Windows 11 version detection --- indra/llcommon/llsys.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'indra/llcommon') 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; -- cgit v1.2.3