diff --git a/rehlds/engine/sys_dll2.cpp b/rehlds/engine/sys_dll2.cpp index 1d05e08..d7c5fcd 100644 --- a/rehlds/engine/sys_dll2.cpp +++ b/rehlds/engine/sys_dll2.cpp @@ -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)