mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 01:31:25 +00:00
Fix ccdv-win32.c so that it works under Windows 95/98/ME.
SVN r282 (trunk)
This commit is contained in:
parent
f2333b6f26
commit
2b0fa809c6
1 changed files with 2 additions and 1 deletions
|
@ -202,6 +202,7 @@ static int REGPARM(2) Slurp(HANDLE fd, HANDLE hStdOut)
|
||||||
DWORD waitstate;
|
DWORD waitstate;
|
||||||
DWORD exitcode;
|
DWORD exitcode;
|
||||||
DWORD out;
|
DWORD out;
|
||||||
|
DWORD threadid;
|
||||||
const char *trail = "/-\\|", *trailcp;
|
const char *trail = "/-\\|", *trailcp;
|
||||||
CONSOLE_SCREEN_BUFFER_INFO info;
|
CONSOLE_SCREEN_BUFFER_INFO info;
|
||||||
CONSOLE_CURSOR_INFO cursorInfo;
|
CONSOLE_CURSOR_INFO cursorInfo;
|
||||||
|
@ -215,7 +216,7 @@ static int REGPARM(2) Slurp(HANDLE fd, HANDLE hStdOut)
|
||||||
}
|
}
|
||||||
|
|
||||||
handles[0] = gCCP.hProcess;
|
handles[0] = gCCP.hProcess;
|
||||||
handles[1] = CreateThread(NULL, 0, SlurpThread, (LPVOID)fd, 0, NULL);
|
handles[1] = CreateThread(NULL, 0, SlurpThread, (LPVOID)fd, 0, &threadid);
|
||||||
|
|
||||||
if(handles[1] == 0)
|
if(handles[1] == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue