diff options
author | Gisle Aas <gisle@activestate.com> | 2006-01-04 16:15:34 +0000 |
---|---|---|
committer | Gisle Aas <gisle@activestate.com> | 2006-01-04 16:15:34 +0000 |
commit | 89529cee496f815eec2d49f2510449af5063ddd8 (patch) | |
tree | e06748af374c318d12651d338e657323af4a0ce7 /perlio.c | |
parent | 91d456aef184ffc6173bca456cc087b98f0e0831 (diff) | |
download | perl-89529cee496f815eec2d49f2510449af5063ddd8.tar.gz |
Make the new STR_WITH_LEN() affected compile under -Dusethreads.
Can't use STR_WITH_LEN() as argument to a macro :-(
p4raw-id: //depot/perl@26649
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -867,7 +867,7 @@ XS(XS_io_MODIFY_SCALAR_ATTRIBUTES) SV * PerlIO_tab_sv(pTHX_ PerlIO_funcs *tab) { - HV * const stash = gv_stashpvn(STR_WITH_LEN("PerlIO::Layer"), TRUE); + HV * const stash = gv_stashpvs("PerlIO::Layer", TRUE); SV * const sv = sv_bless(newRV_noinc(newSViv(PTR2IV(tab))), stash); return sv; } |