Bugzilla bug #5358: temporary fix for the build problem on Solaris/x86.
authorwtc%netscape.com
Wed, 21 Apr 1999 21:02:10 +0000
changeset 562 ad8d26830544726985be2040e9d74faa9da9ee2d
parent 560 ff6c28b24ec11a4ff9e9d129e3b350f3c9715f9b
child 564 105df5f4367d6d1226436b9ef164913ff8a644db
push idunknown
push userunknown
push dateunknown
bugs5358
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.
pr/include/md/_solaris.h
--- a/pr/include/md/_solaris.h
+++ b/pr/include/md/_solaris.h
@@ -43,18 +43,24 @@
 #define	HAVE_DLL
 #define	USE_DLFCN
 #define NEED_STRFTIME_LOCK
 
 #ifdef _PR_LOCAL_THREADS_ONLY
 #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
 #define _PR_STAT_HAS_ST_ATIM
 
 #include "prinrval.h"
 PR_EXTERN(PRIntervalTime) _MD_Solaris_GetInterval(void);
 #define _MD_GET_INTERVAL                  _MD_Solaris_GetInterval