Commit 548ccf41 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix compilation error on windows

parent 91f27820
......@@ -34,7 +34,7 @@ static void wait_for_eof(Eof *obj, int refresh_time_ms, int timeout_ms) {
ms_mutex_lock(&obj->mutex);
while(obj->time_ms < timeout_ms && !obj->eof) {
ms_mutex_unlock(&obj->mutex);
usleep((useconds_t)(refresh_time_ms) * 1000U);
ms_usleep((useconds_t)(refresh_time_ms) * 1000U);
obj->time_ms += refresh_time_ms;
ms_mutex_lock(&obj->mutex);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment