NetBSD support

This commit is contained in:
Sam Lantinga
2006-02-20 03:57:03 +00:00
parent 99931e8d0e
commit 35a29575fc
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;