summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1998-03-04 10:18:03 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-03-05 19:11:09 +0000
commit4dab3d39561362222a38b2524aa7c6adfc2626de (patch)
tree85dbf7610d3c0eae5b9b4edee7027965f0c9b4d6
parent693762b493165ab96822ef2342af62f74dc0367b (diff)
downloadperl-4dab3d39561362222a38b2524aa7c6adfc2626de.tar.gz
Re: perl 5.0061 unable to build on sparc 5 Sol2.5.1 threads.
p4raw-id: //depot/perl@784
-rw-r--r--atomic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/atomic.h b/atomic.h
index 714bf23a6a..4c44a89cf0 100644
--- a/atomic.h
+++ b/atomic.h
@@ -77,6 +77,8 @@ extern __inline__ int atomic_sub_return(int i, atomic_t *v)
#define atomic_inc(v) atomic_add(1,(v))
#define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0)
/* Add further gcc architectures here */
+# else
+# define EMULATE_ATOMIC_REFCOUNTS
# endif /* sparc64 */
#endif /* i386 */
#else