summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-04-21 21:02:10 +0000
committerwtc%netscape.com <devnull@localhost>1999-04-21 21:02:10 +0000
commit88d43adb33cfc4b1e687baa52c474d0ceace8967 (patch)
tree14d45d56eb5d89b7e33cba1f2bc89328a594dd79
parentcf02e9514febcd8b431c3cf952dc05edb001bdfc (diff)
downloadnspr-hg-88d43adb33cfc4b1e687baa52c474d0ceace8967.tar.gz
Bugzilla bug #5358: temporary fix for the build problem on Solaris/x86.
We don't have an assembly language implementation of atomic stacks for Solaris/x86 yet. Thanks to Justin A. Kolodziej <4wg7kolodzie@marquette.edu> for reporting the bug.
-rw-r--r--pr/include/md/_solaris.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pr/include/md/_solaris.h b/pr/include/md/_solaris.h
index 616c666b..21485a31 100644
--- a/pr/include/md/_solaris.h
+++ b/pr/include/md/_solaris.h
@@ -48,8 +48,14 @@
#undef _PR_HAVE_ATOMIC_OPS
#else
#define _PR_HAVE_ATOMIC_OPS
+/*
+ * We have assembly language implementation of atomic
+ * stacks for the sparc architecture only.
+ */
+#ifdef sparc
#define _PR_HAVE_ATOMIC_CAS
#endif
+#endif
#define _PR_POLL_AVAILABLE
#define _PR_USE_POLL