diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-03-15 19:47:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-03-15 19:47:02 +0000 |
commit | ce046328943dbedeac116a3b3c08bb7bd02dd56c (patch) | |
tree | e4359a41261c2c69ca022eaf2a523bc05ab24aab /sv.h | |
parent | cd75d542cb04cc956088837fbf5e9449c9a8fef1 (diff) | |
download | perl-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |