mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[Windows] Drop support for Windows 7/8/8.1.
This commit is contained in:
parent
b89c47bb85
commit
617e12a6b4
11 changed files with 45 additions and 376 deletions
|
|
@ -130,19 +130,11 @@ bool get_latest_fxr(const String &fxr_root, String &r_fxr_path) {
|
|||
}
|
||||
|
||||
#ifdef WINDOWS_ENABLED
|
||||
typedef BOOL(WINAPI *LPFN_ISWOW64PROCESS)(HANDLE, PBOOL);
|
||||
|
||||
BOOL is_wow64() {
|
||||
BOOL wow64 = FALSE;
|
||||
|
||||
LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)(void *)GetProcAddress(GetModuleHandle(TEXT("kernel32")), "IsWow64Process");
|
||||
|
||||
if (fnIsWow64Process) {
|
||||
if (!fnIsWow64Process(GetCurrentProcess(), &wow64)) {
|
||||
wow64 = FALSE;
|
||||
}
|
||||
if (!IsWow64Process(GetCurrentProcess(), &wow64)) {
|
||||
wow64 = FALSE;
|
||||
}
|
||||
|
||||
return wow64;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue