mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user