forked from enlightenment/efl
Evas : evas_image_scalecache.c : usleep() might not be defined on Windows. Use Sleep() instead.
SVN revision: 59906
This commit is contained in:
parent
85cf792f24
commit
1fc436ceb7
|
@ -416,7 +416,11 @@ evas_common_rgba_image_scalecache_prepare(Image_Entry *ie, RGBA_Image *dst __UNU
|
|||
|
||||
while (slpt < 500000)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
Sleep(slp / 1000);
|
||||
#else
|
||||
usleep(slp);
|
||||
#endif
|
||||
slpt += slp;
|
||||
slp++;
|
||||
ret = LKT(im->cache.lock);
|
||||
|
|
Loading…
Reference in New Issue