mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[SERVMAN]
- Fix that gcc doesn't support c99 - According to Christoph, this should fix the gcc build. If not, blame him. svn path=/trunk/; revision=67101
This commit is contained in:
parent
1679681323
commit
e6783cfeac
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
add_subdirectory(devmgmt)
|
||||
add_subdirectory(eventvwr)
|
||||
add_subdirectory(servman)
|
|
@ -25,7 +25,7 @@ DoControlService(LPWSTR ServiceName,
|
|||
DWORD OldCheckPoint;
|
||||
DWORD WaitTime;
|
||||
DWORD MaxWait;
|
||||
DWORD ReqState;
|
||||
DWORD ReqState, i;
|
||||
BOOL Result;
|
||||
|
||||
/* Set the state we're interested in */
|
||||
|
@ -91,7 +91,7 @@ DoControlService(LPWSTR ServiceName,
|
|||
else if (WaitTime > 10000) WaitTime = 10000;
|
||||
|
||||
/* We don't wanna wait for up to 10 secs without incrementing */
|
||||
for (int i = WaitTime / 1000; i > 0; i--)
|
||||
for (i = WaitTime / 1000; i > 0; i--)
|
||||
{
|
||||
Sleep(1000);
|
||||
if (hProgress)
|
||||
|
|
Loading…
Reference in a new issue