You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
[Windows] Drop support for Windows 7/8/8.1.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user