diff src/timer/unix/SDL_systimer.c @ 1383:1736c5e2173f

NetBSD support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 20 Feb 2006 03:57:03 +0000
parents 19418e4422cb
children d910939febfa
line wrap: on
line diff
--- a/src/timer/unix/SDL_systimer.c	Mon Feb 20 03:11:04 2006 +0000
+++ b/src/timer/unix/SDL_systimer.c	Mon Feb 20 03:57:03 2006 +0000
@@ -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 @@
 	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;