http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51296

--- Comment #33 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-03 
08:52:17 UTC ---
Oops, this hunk would be needed too


--- a/libstdc++-v3/src/c++11/condition_variable.cc
+++ b/libstdc++-v3/src/c++11/condition_variable.cc
@@ -36,7 +36,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #else
   condition_variable::condition_variable() noexcept
   {
-    int __e = __gthread_cond_init(&_M_cond, 0);
+    int __e = __GTHREAD_COND_INIT_FUNCTION(&_M_cond, 0);

     if (__e)
       __throw_system_error(__e);

Reply via email to