From 0bcbebcb416000874f3fafe68523ad06db4542a0 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 19 Sep 2010 23:12:57 +0200 Subject: [PATCH] Fixed: Compile error with mutex.h on Windows. --- code/nel/include/nel/misc/mutex.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/nel/include/nel/misc/mutex.h b/code/nel/include/nel/misc/mutex.h index a5cfd2582..009840e3b 100644 --- a/code/nel/include/nel/misc/mutex.h +++ b/code/nel/include/nel/misc/mutex.h @@ -19,6 +19,7 @@ #include "types_nl.h" #include "time_nl.h" +#include "common.h" #include #ifdef NL_OS_UNIX @@ -280,7 +281,7 @@ public: break; #ifdef NL_OS_WINDOWS - Sleep (wait_time); + nlSleep (wait_time); #else //std::cout << "Sleeping i=" << i << std::endl; usleep( wait_time*1000 ); @@ -390,7 +391,7 @@ public: break; #ifdef NL_OS_WINDOWS - Sleep (wait_time); + nlSleep (wait_time); #else //std::cout << "Sleeping i=" << i << std::endl; usleep( wait_time*1000 );