From f05d0fc14890e21fda270b46d6344cac934f409d Mon Sep 17 00:00:00 2001 From: Jonathan Larmour Date: Tue, 23 Dec 2008 03:10:35 +0000 Subject: [PATCH] concurrence.h: Fix __gthread_cond_t initialisation function macro name. 2008-12-22 Jonathan Larmour * include/ext/concurrence.h: Fix __gthread_cond_t initialisation function macro name. From-SVN: r142901 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/ext/concurrence.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 71f47b80903..64c0f51786c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2008-12-22 Jonathan Larmour + + * include/ext/concurrence.h: Fix __gthread_cond_t initialisation + function macro name. + 2008-12-22 Benjamin Kosnik * doc/doxygen/stdheader.cc: Add cstdlib. diff --git a/libstdc++-v3/include/ext/concurrence.h b/libstdc++-v3/include/ext/concurrence.h index b9e43d67f90..49316b35993 100644 --- a/libstdc++-v3/include/ext/concurrence.h +++ b/libstdc++-v3/include/ext/concurrence.h @@ -281,7 +281,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) __gthread_cond_t __tmp = __GTHREAD_COND_INIT; _M_cond = __tmp; #else - __GTHREAD_MUTEX_INIT_FUNCTION(&_M_cond); + __GTHREAD_COND_INIT_FUNCTION(&_M_cond); #endif } #endif