mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Merge pull request #291 from Chuvi-w/master
Fixed "error C4996: 'GetVersionExA': was declared deprecated" using a crutch.
This commit is contained in:
commit
c9f905b8fb
@ -187,6 +187,8 @@ NOXREF int Sys_IsWin98(void)
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4996 )
|
||||
NOXREF void Sys_CheckOSVersion(void)
|
||||
{
|
||||
struct _OSVERSIONINFOA verInfo;
|
||||
@ -210,6 +212,7 @@ NOXREF void Sys_CheckOSVersion(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning ( pop )
|
||||
#endif // _WIN32
|
||||
|
||||
void Sys_Init(void)
|
||||
|
Loading…
Reference in New Issue
Block a user