NetBSD support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401387
This commit is contained in:
Sam Lantinga 2006-02-20 03:57:03 +00:00
parent d702fdf4ad
commit 5427ab0258
5 changed files with 10 additions and 15 deletions

View file

@ -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;