Update of /cvsroot/audacity/lib-src/portaudio-v19/src/os/unix
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv3788

Modified Files:
        pa_unix_util.c 
Log Message:
Allow it to build in 10.3.9 environment


Index: pa_unix_util.c
===================================================================
RCS file: /cvsroot/audacity/lib-src/portaudio-v19/src/os/unix/pa_unix_util.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pa_unix_util.c      23 Sep 2006 18:42:51 -0000      1.3
+++ pa_unix_util.c      26 Mar 2007 00:45:13 -0000      1.4
@@ -387,7 +387,12 @@
     PA_DEBUG(( "%s: Joining thread %d\n", __FUNCTION__, self->thread ));
     PA_ENSURE_SYSTEM( pthread_join( self->thread, &pret ), 0 );
 
+#ifdef PTHREAD_CANCELED
     if( pret && PTHREAD_CANCELED != pret )
+#else
+    /* !wait means the thread may have been canceled */
+    if( pret && wait )
+#endif
     {
         if( exitResult )
         {


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to