From 2b0fa809c67357c45f74096a72cc073df4dca5bc Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 10 Aug 2006 01:17:58 +0000 Subject: [PATCH] Fix ccdv-win32.c so that it works under Windows 95/98/ME. SVN r282 (trunk) --- ccdv-win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccdv-win32.c b/ccdv-win32.c index c3b77fdae..1dd51f14c 100644 --- a/ccdv-win32.c +++ b/ccdv-win32.c @@ -202,6 +202,7 @@ static int REGPARM(2) Slurp(HANDLE fd, HANDLE hStdOut) DWORD waitstate; DWORD exitcode; DWORD out; + DWORD threadid; const char *trail = "/-\\|", *trailcp; CONSOLE_SCREEN_BUFFER_INFO info; CONSOLE_CURSOR_INFO cursorInfo; @@ -215,7 +216,7 @@ static int REGPARM(2) Slurp(HANDLE fd, HANDLE hStdOut) } 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) {