diff --git a/src/odoors/ODPlat.c b/src/odoors/ODPlat.c index 6c02734299bb062a04b803b6fd11e618b842a07a..67e5609d18d08dc627392ad7c418fa8b55473373 100644 --- a/src/odoors/ODPlat.c +++ b/src/odoors/ODPlat.c @@ -63,7 +63,6 @@ #include <glob.h> #include <sys/types.h> #include <sys/stat.h> -#include <sched.h> #endif #include "ODGen.h" #include "ODCore.h" @@ -808,8 +807,6 @@ ODAPIDEF void ODCALL od_sleep(tODMilliSec Milliseconds) #endif /* ODPLAT_WIN32 */ #ifdef ODPLAT_NIX - sched_yield(); - /* Prevent 100% CPU usage! */ if(Milliseconds==0) Milliseconds=1;