I always forget Perl 5.004 doesn't have PL_na .. so, now I've declared for

5.004, and changed all STRLEN n_a code to use PL_na instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2238 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-11 16:44:53 +00:00 committed by cras
commit 617123b5d4
10 changed files with 21 additions and 35 deletions

View file

@ -77,10 +77,8 @@ static int perl_source_event(PERL_SOURCE_REC *rec)
SPAGAIN;
if (SvTRUE(ERRSV)) {
STRLEN n_a;
signal_emit("script error", 2, rec->script,
SvPV(ERRSV, n_a));
SvPV(ERRSV, PL_na));
}
perl_source_unref(rec);