diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-02-27 18:27:00 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-02-27 18:27:00 +0000 |
commit | 83b0a0109e1eed27ea70e7f37c84621d166a32ce (patch) | |
tree | 50eff82af58d2f1138dae28ffb897db09988481a /sv.h | |
parent | f6867f7f3279be1c892878246f56be42b6a65eaa (diff) | |
download | perl-83b0a0109e1eed27ea70e7f37c84621d166a32ce.tar.gz |
Fix stupid ATOMIC_DEC_AND_TEST typo in sv.h.
p4raw-id: //depot/perl@601
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ struct io { # endif /* EMULATE_ATOMIC_REFCOUNTS */ #else # define ATOMIC_INC(count) (++count) -# define ATOMIC_DEC_AND_TEST(res, count) (res = --count) +# define ATOMIC_DEC_AND_TEST(res, count) (res = (--count == 0)) #endif /* USE_THREADS */ #ifdef __GNUC__ |