From c9754acc13565b707d833c6f6939ab67b19dc14d Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Mon, 16 Oct 2006 10:55:40 +0000 Subject: [PATCH] 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 --- test/CachedFactory/CachedFactoryTest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/CachedFactory/CachedFactoryTest.cpp b/test/CachedFactory/CachedFactoryTest.cpp index 2ac9417..c00262c 100755 --- a/test/CachedFactory/CachedFactoryTest.cpp +++ b/test/CachedFactory/CachedFactoryTest.cpp @@ -13,8 +13,12 @@ #endif #include + #if defined(_WIN32) || defined(__CYGWIN__) - #include +#include +#else +#include +void Sleep(unsigned int t) { usleep(t);} #endif