From: Rafael Garcia-Suarez Date: Thu, 19 Apr 2007 15:06:53 +0000 (+0000) Subject: Fix compilation error with threads X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9edc5bb88e22f179a8e93ef946255446e35178fa;p=p5sagit%2Fp5-mst-13.2.git Fix compilation error with threads p4raw-id: //depot/perl@30984 --- diff --git a/mro.c b/mro.c index b6c4db8..7535c06 100644 --- a/mro.c +++ b/mro.c @@ -864,9 +864,10 @@ XS(XS_mro_is_universal) class_stash = gv_stashsv(classname, 0); if(!class_stash) Perl_croak(aTHX_ "No such class: '%"SVf"'!", SVfARG(classname)); - HvMROMETA(class_stash)->is_universal - ? XSRETURN_YES - : XSRETURN_NO; + if (HvMROMETA(class_stash)->is_universal) + XSRETURN_YES; + else + XSRETURN_NO; } XS(XS_mro_get_global_sub_generation)