This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]