File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -1634,26 +1634,6 @@ String OS_Windows::get_locale() const {
16341634 return " en" ;
16351635}
16361636
1637- // We need this because GetSystemInfo() is unreliable on WOW64
1638- // see https://msdn.microsoft.com/en-us/library/windows/desktop/ms724381(v=vs.85).aspx
1639- // Taken from MSDN
1640- typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS)(HANDLE, PBOOL);
1641- LPFN_ISWOW64PROCESS fnIsWow64Process;
1642-
1643- BOOL is_wow64 () {
1644- BOOL wow64 = FALSE ;
1645-
1646- fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress (GetModuleHandle (TEXT (" kernel32" )), " IsWow64Process" );
1647-
1648- if (fnIsWow64Process) {
1649- if (!fnIsWow64Process (GetCurrentProcess (), &wow64)) {
1650- wow64 = FALSE ;
1651- }
1652- }
1653-
1654- return wow64;
1655- }
1656-
16571637String OS_Windows::get_processor_name () const {
16581638 const String id = " Hardware\\ Description\\ System\\ CentralProcessor\\ 0" ;
16591639
You can’t perform that action at this time.
0 commit comments