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