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