Sleep is not defined on linux

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@725 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-10-16 10:55:40 +00:00
parent df24bcb2c0
commit c9754acc13

View file

@ -13,8 +13,12 @@
#endif
#include <loki/CachedFactory.h>
#if defined(_WIN32) || defined(__CYGWIN__)
#include <windows.h>
#else
#include <unistd.h>
void Sleep(unsigned int t) { usleep(t);}
#endif