From 5b9fe236e504d88fc962a803a40b4fa9acff284e Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Wed, 21 Apr 1999 21:07:20 +0000 Subject: [PATCH] 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. (NSPRPUB_RELEASE_3_1_BRANCH) git-svn-id: svn://10.0.0.236/branches/NSPRPUB_RELEASE_3_1_BRANCH@28523 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/include/md/_solaris.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/nsprpub/pr/include/md/_solaris.h b/mozilla/nsprpub/pr/include/md/_solaris.h index 616c666b6d1..21485a31663 100644 --- a/mozilla/nsprpub/pr/include/md/_solaris.h +++ b/mozilla/nsprpub/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