Kaydet (Commit) 9bed5b33 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wdeprecated-declarations

Change-Id: I3767aee8c4272f971817757498f05494706ddd0b
üst 1cb6ab10
......@@ -244,7 +244,9 @@ int32_t WindowsOSVersion()
vinfo.dwOSVersionInfoSize = sizeof (vinfo);
#pragma warning(push)
#pragma warning(disable:4996)
SAL_WNODEPRECATED_DECLARATIONS_PUSH
if (!GetVersionEx(&vinfo))
SAL_WNODEPRECATED_DECLARATIONS_POP
{
#pragma warning(pop)
winVersion = kWindowsUnknown;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment