Add wxGetNativeCpuArchitectureName()
This allows to retrieve the native CPU architecture name regardless of
the current process CPU architecture.
Common examples for CPU architecture differences are the following:
- Win32 process in x64 Windows (WoW)
- Win32 or x64 process on ARM64 Windows (WoW64)
- x86_64 process on ARM64 macOS (Rosetta 2)
Closes #22036.
This commit is contained in:
committed by
Vadim Zeitlin
parent
512f40d614
commit
1ae0037330
@@ -156,6 +156,9 @@ WXDLLIMPEXP_BASE bool wxIsPlatform64Bit();
|
||||
// Get machine CPU architecture
|
||||
WXDLLIMPEXP_BASE wxString wxGetCpuArchitectureName();
|
||||
|
||||
// Get native machine CPU architecture
|
||||
WXDLLIMPEXP_BASE wxString wxGetNativeCpuArchitectureName();
|
||||
|
||||
#ifdef __LINUX__
|
||||
// Get linux-distro information
|
||||
WXDLLIMPEXP_BASE wxLinuxDistributionInfo wxGetLinuxDistributionInfo();
|
||||
|
||||
Reference in New Issue
Block a user