From: Nicholas Clark Date: Wed, 15 Mar 2006 19:47:02 +0000 (+0000) Subject: Correct the non gcc-brace-group definition of SvAMAGIC_off X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce046328943dbedeac116a3b3c08bb7bd02dd56c;p=p5sagit%2Fp5-mst-13.2.git Correct the non gcc-brace-group definition of SvAMAGIC_off p4raw-id: //depot/perl@27511 --- diff --git a/sv.h b/sv.h index 73ed715..cf2f656 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))