diff options
Diffstat (limited to 'audio/openal/files/patch-src:threads:posixthreads.c')
-rw-r--r-- | audio/openal/files/patch-src:threads:posixthreads.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/audio/openal/files/patch-src:threads:posixthreads.c b/audio/openal/files/patch-src:threads:posixthreads.c index c322d396e4ae..31c66495f9a8 100644 --- a/audio/openal/files/patch-src:threads:posixthreads.c +++ b/audio/openal/files/patch-src:threads:posixthreads.c @@ -1,11 +1,20 @@ ---- src/threads/posixthreads.c~ Mon Aug 28 19:14:08 2000 -+++ src/threads/posixthreads.c Mon Sep 25 19:17:19 2000 -@@ -82,7 +82,7 @@ +--- src/threads/posixthreads.c.orig Wed May 9 12:40:39 2001 ++++ src/threads/posixthreads.c Wed Feb 20 12:37:03 2002 +@@ -19,6 +19,10 @@ + extern int pthread_atfork(void (*)(void), void (*)(void), void (*)(void)); + #endif + ++#if defined(BSD_TARGET) ++int pthread_atfork(void (*a)(void),void (*b)(void),void (*c)(void)){return -1;} ++#endif ++ + typedef int (*ptfunc)(void *); + + static void *RunThread(void *data) { +@@ -88,7 +92,7 @@ } extern unsigned int Posix_SelfThread(void) { - return (unsigned int) pthread_self(); + return (unsigned long)(unsigned long *) pthread_self(); } - - extern void Posix_ExitThread(UNUSED(int retval)) { |