* gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
authorIan Lance Taylor <ian@airs.com>
Mon, 7 Jun 2010 15:00:44 +0000 (15:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 7 Jun 2010 15:00:44 +0000 (15:00 +0000)
#ifdef typo.

gold/ChangeLog
gold/gold-threads.cc

index e9feedecd1935e3f2950caf1e93097648e36877c..5442a9aed00e07f9d6f92d0d97d2840071622a85 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-07  Damien Diederen  <dd@crosstwine.com>
+
+       * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
+       #ifdef typo.
+
 2010-06-03  Sriraman Tallam  <tmsriram@google.com>
 
        PR gold/11658
index f5347bfcb4ae9a616f681ca38108a48a01a3ee93..ef5b6922e313a575bc7f7ebd089b7be8133da814 100644 (file)
@@ -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));
This page took 0.029657 seconds and 4 git commands to generate.