[PATCH] Fix build error in gthr-posix95.h

Tom G. Christensen tgc@jupiterrise.com
Sun Apr 6 09:32:00 GMT 2008


There's a missing & in gthr-posix95.h resulting in a build error when
building with --enable-threads=posix95.

Patch applies to both 4.3 and 4.4.

-tgc

2008-04-06  Tom G. Christensen <tgc@jupiterrise.com>

	* gthr-posix95.h: Add missing &

*** gcc-4.3-20080208/gcc/gthr-posix95.h.fixed	Sun Feb 17 14:10:34 2008
--- gcc-4.3-20080208/gcc/gthr-posix95.h	Sun Feb 17 14:11:12 2008
***************
*** 741,747 ****
  __gthread_cond_wait_recursive (__gthread_cond_t *cond,
  			       __gthread_recursive_mutex_t *mutex)
  {
!   return __gthrw_(pthread_cond_wait) (cond, mutex->actual);
  }
  
  #endif /* _LIBOBJC */
--- 741,747 ----
  __gthread_cond_wait_recursive (__gthread_cond_t *cond,
  			       __gthread_recursive_mutex_t *mutex)
  {
!   return __gthrw_(pthread_cond_wait) (cond, &mutex->actual);
  }
  
  #endif /* _LIBOBJC */



More information about the Gcc-patches mailing list