From: Ian Lance Taylor Date: Mon, 7 Jun 2010 15:00:44 +0000 (+0000) Subject: * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f32ea4ce3309801590068305e7c8d7aeb495f2f;p=binutils-gdb.git * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct #ifdef typo. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index e9feedecd19..5442a9aed00 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-06-07 Damien Diederen + + * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct + #ifdef typo. + 2010-06-03 Sriraman Tallam PR gold/11658 diff --git a/gold/gold-threads.cc b/gold/gold-threads.cc index f5347bfcb4a..ef5b6922e31 100644 --- a/gold/gold-threads.cc +++ b/gold/gold-threads.cc @@ -101,7 +101,7 @@ Lock_impl_threads::Lock_impl_threads() int err = pthread_mutexattr_init(&attr); if (err != 0) gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err)); -#ifdef PTHREAD_MUTEXT_ADAPTIVE_NP +#ifdef PTHREAD_MUTEX_ADAPTIVE_NP err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); if (err != 0) gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err));