mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
C89 buildfix
This commit is contained in:
parent
7949a9c8ad
commit
46a318db45
@ -954,12 +954,12 @@ static bool create_win32_process(char* cmd, const char * input)
|
||||
|
||||
if (input)
|
||||
{
|
||||
DWORD dummy;
|
||||
HANDLE wr;
|
||||
if (!CreatePipe(&rd, &wr, NULL, strlen(input))) return false;
|
||||
|
||||
SetHandleInformation(rd, HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT);
|
||||
|
||||
DWORD dummy;
|
||||
WriteFile(wr, input, strlen(input), &dummy, NULL);
|
||||
CloseHandle(wr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user