summaryrefslogtreecommitdiff
path: root/ext/B
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-02-03 10:15:52 +0000
committerDavid Mitchell <davem@iabyn.com>2015-02-03 10:15:52 +0000
commite1812838584f1ccec086cb1385d37f694942a1f2 (patch)
tree18d3b5dfba1082353a9037cf0fb896653896c027 /ext/B
parent3db719fef4a14adacd56f6db1d3eb4e9a427eb99 (diff)
downloadperl-e1812838584f1ccec086cb1385d37f694942a1f2.tar.gz
fix B.xs on win builds
My recent commit c3890f9c66 appears to have broken win32 builds, I guess because it doesn't like the args to the macro sv_setsv() being spilt across #idfef's. So don't do that.
Diffstat (limited to 'ext/B')
-rw-r--r--ext/B/B.xs6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs
index c4d218e75c..41518d809c 100644
--- a/ext/B/B.xs
+++ b/ext/B/B.xs
@@ -822,13 +822,11 @@ BOOT:
cv = newXS("B::diehook", intrpvar_sv_common, file);
ASSIGN_COMMON_ALIAS(I, diehook);
sv = get_sv("B::OP::does_parent", GV_ADDMULTI);
- sv_setsv(sv,
#ifdef PERL_OP_PARENT
- &PL_sv_yes
+ sv_setsv(sv, &PL_sv_yes);
#else
- &PL_sv_no
+ sv_setsv(sv, &PL_sv_no);
#endif
- );
}
#ifndef PL_formfeed