mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
Merge pull request #99280 from bruvzg/win32_build_fix
Fix 32-bit Windows build.
This commit is contained in:
commit
d9b458d4b0
@ -986,7 +986,7 @@ Dictionary OS_Windows::execute_with_pipe(const String &p_path, const List<String
|
||||
pi.si.StartupInfo.hStdOutput = pipe_out[1];
|
||||
pi.si.StartupInfo.hStdError = pipe_err[1];
|
||||
|
||||
size_t attr_list_size = 0;
|
||||
SIZE_T attr_list_size = 0;
|
||||
InitializeProcThreadAttributeList(nullptr, 1, 0, &attr_list_size);
|
||||
pi.si.lpAttributeList = (LPPROC_THREAD_ATTRIBUTE_LIST)alloca(attr_list_size);
|
||||
if (!InitializeProcThreadAttributeList(pi.si.lpAttributeList, 1, 0, &attr_list_size)) {
|
||||
@ -1082,7 +1082,7 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments,
|
||||
pi.si.StartupInfo.hStdError = pipe[1];
|
||||
}
|
||||
|
||||
size_t attr_list_size = 0;
|
||||
SIZE_T attr_list_size = 0;
|
||||
InitializeProcThreadAttributeList(nullptr, 1, 0, &attr_list_size);
|
||||
pi.si.lpAttributeList = (LPPROC_THREAD_ATTRIBUTE_LIST)alloca(attr_list_size);
|
||||
if (!InitializeProcThreadAttributeList(pi.si.lpAttributeList, 1, 0, &attr_list_size)) {
|
||||
|
Loading…
Reference in New Issue
Block a user