Index: nspr/pr/include/pratom.h |
diff --git a/nspr/pr/include/pratom.h b/nspr/pr/include/pratom.h |
index 9dbe0fad33930daacefeb621149a34d0115e8ded..dff9d6c09abec949edd286ab065b04fe89c76866 100644 |
--- a/nspr/pr/include/pratom.h |
+++ b/nspr/pr/include/pratom.h |
@@ -107,7 +107,9 @@ NSPR_API(PRInt32) PR_AtomicAdd(PRInt32 *ptr, PRInt32 val); |
defined(__powerpc__) || \ |
(defined(__arm__) && \ |
defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)) || \ |
- defined(__aarch64__) || defined(__alpha)))) |
+ defined(__aarch64__) || defined(__alpha) || \ |
+ (defined(__mips__) && \ |
+ defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4))))) |
/* |
* Because the GCC manual warns that some processors may support |