Added OS Platform (cpu architecture) detection support to windows systems
This commit is contained in:
parent
89954fe9a2
commit
8fe2738096
|
@ -3358,6 +3358,12 @@ bool SystemInformationImplementation::QueryOSInformation()
|
||||||
WSACleanup( );
|
WSACleanup( );
|
||||||
}
|
}
|
||||||
this->Hostname = name;
|
this->Hostname = name;
|
||||||
|
|
||||||
|
const char* arch = getenv("PROCESSOR_ARCHITECTURE");
|
||||||
|
if(arch)
|
||||||
|
{
|
||||||
|
this->OSPlatform = arch;
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue