diff options
Diffstat (limited to 'devel/SDL/patches/patch-ap')
-rw-r--r-- | devel/SDL/patches/patch-ap | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/devel/SDL/patches/patch-ap b/devel/SDL/patches/patch-ap deleted file mode 100644 index 355b93920de..00000000000 --- a/devel/SDL/patches/patch-ap +++ /dev/null @@ -1,25 +0,0 @@ -$NetBSD: patch-ap,v 1.2 2000/12/03 04:33:11 wiz Exp $ - ---- src/timer/linux/SDL_systimer.c.orig Sun Oct 22 22:35:19 2000 -+++ src/timer/linux/SDL_systimer.c -@@ -36,6 +36,10 @@ - #include "SDL_timer.h" - #include "SDL_timer_c.h" - -+#if _POSIX_THREAD_SYSCALL_SOFT -+#include <pthread.h> -+#endif -+ - #if defined(DISABLE_THREADS) || defined(FORK_HACK) - #define USE_ITIMER - #endif -@@ -96,6 +100,9 @@ - do { - errno = 0; - -+#if _POSIX_THREAD_SYSCALL_SOFT -+ pthread_yield_np(); -+#endif - #ifdef USE_NANOSLEEP - tv.tv_sec = elapsed.tv_sec; - tv.tv_nsec = elapsed.tv_nsec; |