summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-02-28 22:16:45 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-02-28 22:16:45 +0000
commit0bfcb09dbc8a8333a31bc4ed39ebc944580fd2fe (patch)
treee3805a32523e9539b6253bfdeed236ba3cc010d4 /sv.h
parent50243a955e8631e9228f2bc8eee4c6976cfd9f02 (diff)
downloadperl-0bfcb09dbc8a8333a31bc4ed39ebc944580fd2fe.tar.gz
[win32] fix typo in sv.h, and run 'make regen_headers' to make it build
p4raw-id: //depot/win32/perl@605
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sv.h b/sv.h
index e9614e63a1..0b3adea596 100644
--- a/sv.h
+++ b/sv.h
@@ -84,10 +84,10 @@ struct io {
++count; \
MUTEX_UNLOCK(&svref_mutex); \
} STMT_END
-# define ATOMIC_DEC_AND_TEST(res,count) \
- MUTEX_LOCK(&svref_mutex); \
- res = (--count == 0); \
- MUTEX_UNLOCK(&svref_mutex); \
+# define ATOMIC_DEC_AND_TEST(res,count) STMT_START { \
+ MUTEX_LOCK(&svref_mutex); \
+ res = (--count == 0); \
+ MUTEX_UNLOCK(&svref_mutex); \
} STMT_END
# else
# define ATOMIC_INC(count) atomic_inc(&count)