mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 00:07:09 -05:00
Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
71798f4e8a
commit
62f7404199
@ -268,11 +268,20 @@ void p3GroupDistrib::run() /* called once the thread is started */
|
|||||||
if (validCache)
|
if (validCache)
|
||||||
{
|
{
|
||||||
loadAnyCache(cache, isLocal);
|
loadAnyCache(cache, isLocal);
|
||||||
|
|
||||||
|
#ifndef WINDOWS_SYS
|
||||||
usleep(1000);
|
usleep(1000);
|
||||||
|
#else
|
||||||
|
Sleep(1);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifndef WINDOWS_SYS
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
#else
|
||||||
|
Sleep(1000);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user