Index: include/atomic |
diff --git a/include/atomic b/include/atomic |
index fe856093528d5c4968339db1b0e58bdfb598abf0..c731485fecbab105626e7e7aef10c494053ad01b 100644 |
--- a/include/atomic |
+++ b/include/atomic |
@@ -818,7 +818,7 @@ struct __atomic_base // false |
// @LOCALMOD-BEGIN The NaCl builtin delays resolution of the lock-free |
// property until translation time (time at which the |
// actual target is known). |
-#if defined (__pnacl__) |
+#if defined (__pnacl__) || (defined(__mips__) && defined (__native_client__)) |
_LIBCPP_INLINE_VISIBILITY |
bool is_lock_free() const volatile _NOEXCEPT |
{return __nacl_atomic_is_lock_free(sizeof(_Tp), &__a_);} |