mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 20:50:52 +02:00
update SDL3 to libsdl-org/SDL@186c6e5
This commit is contained in:
@@ -73,6 +73,14 @@ static bool SetupRedirect(SDL_PropertiesID props, const char *property, HANDLE *
|
||||
WIN_SetError("DuplicateHandle()");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (GetFileType(*result) == FILE_TYPE_PIPE) {
|
||||
DWORD wait_mode = PIPE_WAIT;
|
||||
if (!SetNamedPipeHandleState(*result, &wait_mode, NULL, NULL)) {
|
||||
WIN_SetError("SetNamedPipeHandleState()");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user