aboutsummaryrefslogtreecommitdiff
path: root/src/engine/variable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/variable.cpp')
-rw-r--r--src/engine/variable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/variable.cpp b/src/engine/variable.cpp
index ed4abea2..7377b116 100644
--- a/src/engine/variable.cpp
+++ b/src/engine/variable.cpp
@@ -1698,6 +1698,7 @@ static HRESULT InitializeVariableOsInfo(
1698 BURN_VARIANT value = { }; 1698 BURN_VARIANT value = { };
1699 1699
1700 ovix.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXW); 1700 ovix.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXW);
1701 #pragma warning(suppress: 4996)
1701 if (!::GetVersionExW((LPOSVERSIONINFOW)&ovix)) 1702 if (!::GetVersionExW((LPOSVERSIONINFOW)&ovix))
1702 { 1703 {
1703 ExitWithLastError(hr, "Failed to get OS info."); 1704 ExitWithLastError(hr, "Failed to get OS info.");