From 617123b5d414b9b44159d1fe2a0bc57b0f272f08 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 11 Dec 2001 16:44:53 +0000 Subject: 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 --- src/perl/irc/Server.xs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/perl/irc/Server.xs') diff --git a/src/perl/irc/Server.xs b/src/perl/irc/Server.xs index 3f1e5c23..0cbcad8e 100644 --- a/src/perl/irc/Server.xs +++ b/src/perl/irc/Server.xs @@ -25,7 +25,6 @@ static GSList *event_hash2list(HV *hv) { HE *he; GSList *list; - STRLEN n_a; if (hv == NULL) return NULL; @@ -35,7 +34,7 @@ static GSList *event_hash2list(HV *hv) while ((he = hv_iternext(hv)) != NULL) { I32 len; char *key = hv_iterkey(he, &len); - char *value = SvPV(HeVAL(he), n_a); + char *value = SvPV(HeVAL(he), PL_na); list = g_slist_append(list, g_strdup(key)); list = g_slist_append(list, g_strdup(value)); -- cgit v1.2.3