remove hc_sleep and _msec.
MinGW defines sleep and usleep so just use those directly.
This commit is contained in:
+2
-2
@@ -30,7 +30,7 @@ BOOL WINAPI sigHandler_default (DWORD sig)
|
||||
|
||||
SetConsoleCtrlHandler (NULL, TRUE);
|
||||
|
||||
hc_sleep (10);
|
||||
sleep (10);
|
||||
|
||||
return TRUE;
|
||||
|
||||
@@ -58,7 +58,7 @@ BOOL WINAPI sigHandler_benchmark (DWORD sig)
|
||||
|
||||
SetConsoleCtrlHandler (NULL, TRUE);
|
||||
|
||||
hc_sleep (10);
|
||||
sleep (10);
|
||||
|
||||
return TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user