Windows: fix link error in custom EFI / VC_SKIP_OS_DRIVER_REQ_CHECK configuration

This commit is contained in:
Mounir IDRASSI committed 2025-06-09 11:41:12 +09:00
1 parent 87a5024a5b
commit 08093f460a
5 files changed
+9 -29

No files matched your search

+2 -2
View File
@@ -3855,9 +3855,9 @@ void InitApp (HINSTANCE hInstance, wchar_t *lpszCommandLine)
// in TESTSIGNING mode, we support only Windows 7 and Windows 8/8.1
if (
#ifndef SETUP
IsOSVersionAtLeast(WIN_10, 0)
IsOSVersionAtLeast(WIN_10, 0) ||
#else
|| (IsOSVersionAtLeast(WIN_10, 0) && !bMakePackage)
(IsOSVersionAtLeast(WIN_10, 0) && !bMakePackage)
#endif
)
{