mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Move CSystem::GetOSPlatform() to Platform.h
This commit is contained in:
@ -691,7 +691,7 @@ void CMeasureNet::WriteStats(const WCHAR* iniFile, const std::wstring& statsDate
|
||||
*/
|
||||
void CMeasureNet::InitializeStatic()
|
||||
{
|
||||
if (CSystem::GetOSPlatform() >= OSPLATFORM_VISTA)
|
||||
if (Platform::IsAtLeastWinVista())
|
||||
{
|
||||
HMODULE IpHlpApiLibrary = GetModuleHandle(L"IpHlpApi.dll");
|
||||
if (IpHlpApiLibrary)
|
||||
|
Reference in New Issue
Block a user