mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Fixed: Compile error with mutex.h on Windows.
This commit is contained in:
parent
3e3a987395
commit
4c9d9f593b
1 changed files with 3 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "types_nl.h"
|
||||
#include "time_nl.h"
|
||||
#include "common.h"
|
||||
#include <map>
|
||||
|
||||
#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 );
|
||||
|
|
Loading…
Reference in a new issue