NetBSD support
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401387
This commit is contained in:
parent
d702fdf4ad
commit
5427ab0258
5 changed files with 10 additions and 15 deletions
|
@ -41,8 +41,6 @@
|
|||
|
||||
#if SDL_THREAD_PTH
|
||||
#include <pth.h>
|
||||
#elif _POSIX_THREAD_SYSCALL_SOFT
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
#if SDL_THREADS_DISABLED
|
||||
|
@ -111,9 +109,6 @@ void SDL_Delay (Uint32 ms)
|
|||
do {
|
||||
errno = 0;
|
||||
|
||||
#if _POSIX_THREAD_SYSCALL_SOFT
|
||||
pthread_yield_np();
|
||||
#endif
|
||||
#if HAVE_NANOSLEEP
|
||||
tv.tv_sec = elapsed.tv_sec;
|
||||
tv.tv_nsec = elapsed.tv_nsec;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue