From 43df6e424e468bd16da076bf01c848b89a7dbf60 Mon Sep 17 00:00:00 2001 From: David Leadbeater Date: Tue, 24 Jun 2014 20:20:27 +0100 Subject: Define PERL_NO_GET_CONTEXT in all perl source files This removes the calls to Perl_get_context() that get automatically added to XS code for ancient source code compatibility reasons. The result is about a ~60K size reduction in the binary (based on comparing two 64-bit stripped irssi binaries compiled --with-perl-staticlib). --- src/perl/irc/Notifylist.xs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/perl/irc/Notifylist.xs') diff --git a/src/perl/irc/Notifylist.xs b/src/perl/irc/Notifylist.xs index 192489cc..74747baa 100644 --- a/src/perl/irc/Notifylist.xs +++ b/src/perl/irc/Notifylist.xs @@ -1,3 +1,4 @@ +#define PERL_NO_GET_CONTEXT #include "module.h" MODULE = Irssi::Irc::Notifylist PACKAGE = Irssi::Irc -- cgit v1.2.3