Index: gcc/gthr-nacl.h |
diff --git a/gcc/gthr-nacl.h b/gcc/gthr-nacl.h |
index ca04410ec6311f3e46223aff30ac812f9a2faef5..f99bedd52d86bdae22a890516fda06f5ab998955 100644 |
--- a/gcc/gthr-nacl.h |
+++ b/gcc/gthr-nacl.h |
@@ -116,15 +116,9 @@ __gthread_active_p (void) |
* TODO: change to reference a thread creation/destruction function |
* when one becomes available. |
*/ |
- // This is a dirty workaround over our inability to use locks in NaCl x86-64. |
- // TODO(pasko): fix this by enabling correct builtins. |
-#ifndef __x86_64__ |
static void *const __gthread_active_ptr |
= __extension__ (void *) &__gthrw_(pthread_mutex_lock); |
return __gthread_active_ptr != 0; |
-#else |
- return 0; |
-#endif |
} |
#ifdef _LIBOBJC |