projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
693762b
)
Re: perl 5.0061 unable to build on sparc 5 Sol2.5.1 threads.
author
Nick Ing-Simmons
<nik@tiuk.ti.com>
Wed, 4 Mar 1998 10:18:03 +0000
(10:18 +0000)
committer
Malcolm Beattie
<mbeattie@sable.ox.ac.uk>
Thu, 5 Mar 1998 19:11:09 +0000
(19:11 +0000)
p4raw-id: //depot/perl@784
atomic.h
patch
|
blob
|
history
diff --git
a/atomic.h
b/atomic.h
index
714bf23
..
4c44a89
100644
(file)
--- 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