summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-15 19:47:02 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-15 19:47:02 +0000
commitce046328943dbedeac116a3b3c08bb7bd02dd56c (patch)
treee4359a41261c2c69ca022eaf2a523bc05ab24aab /sv.h
parentcd75d542cb04cc956088837fbf5e9449c9a8fef1 (diff)
downloadperl-ce046328943dbedeac116a3b3c08bb7bd02dd56c.tar.gz
Correct the non gcc-brace-group definition of SvAMAGIC_off
p4raw-id: //depot/perl@27511
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 73ed7154cb..cf2f6562bb 100644
--- a/sv.h
+++ b/sv.h
@@ -988,7 +988,8 @@ in gv.h: */
})
#else
# define SvAMAGIC_on(sv) (SvFLAGS(SvRV(sv)) |= SVf_AMAGIC)
-# define SvAMAGIC_off(sv) (SvROK(sv) && SvFLAGS(SvRV(sv)) &= ~SVf_AMAGIC)
+# define SvAMAGIC_off(sv) \
+ (SvROK(sv) && (SvFLAGS(SvRV(sv)) &= ~SVf_AMAGIC))
#endif
#define SvGAMAGIC(sv) (SvGMAGICAL(sv) || SvAMAGIC(sv))