diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-02-01 15:44:33 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-02-01 15:44:33 +0100 |
commit | 6198126ce20cc418252f461621c81d19ee2b36e4 (patch) | |
tree | 01823c79fa88799e0c96d18eb0689fa96fa64cd4 /ACE/ace/OS_NS_sys_utsname.cpp | |
parent | 8ab31e3e5bb8c09a9c326a54545f4cb475345a78 (diff) | |
download | ATCD-6198126ce20cc418252f461621c81d19ee2b36e4.tar.gz |
Removed pharlap support
Diffstat (limited to 'ACE/ace/OS_NS_sys_utsname.cpp')
-rw-r--r-- | ACE/ace/OS_NS_sys_utsname.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ACE/ace/OS_NS_sys_utsname.cpp b/ACE/ace/OS_NS_sys_utsname.cpp index 604947b5825..8d4da8dbddd 100644 --- a/ACE/ace/OS_NS_sys_utsname.cpp +++ b/ACE/ace/OS_NS_sys_utsname.cpp @@ -41,21 +41,7 @@ ACE_OS::uname (ACE_utsname *name) # endif SYSTEM_INFO sinfo; -# if defined (ACE_HAS_PHARLAP) - // PharLap doesn't do GetSystemInfo. What's really wanted is the - // CPU architecture, so we can get that with EtsGetSystemInfo. Fill - // in what's wanted in the SYSTEM_INFO structure, and carry on. Note - // that the CPU type values in EK_KERNELINFO have the same values - // are the ones defined for SYSTEM_INFO. - EK_KERNELINFO ets_kern; - EK_SYSTEMINFO ets_sys; - EtsGetSystemInfo (&ets_kern, &ets_sys); - sinfo.wProcessorLevel = static_cast<WORD> (ets_kern.CpuType); - sinfo.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_INTEL; - sinfo.dwProcessorType = ets_kern.CpuType * 100 + 86; -# else ::GetSystemInfo(&sinfo); -# endif /* ACE_HAS_PHARLAP */ const char* unknown = "???"; |