mirror of
https://github.com/irssi/irssi.git
synced 2025-04-26 04:51:11 -05:00
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).
7 lines
119 B
Plaintext
7 lines
119 B
Plaintext
#define PERL_NO_GET_CONTEXT
|
|
#include "module.h"
|
|
|
|
MODULE = Irssi::Irc::Client PACKAGE = Irssi::Irc
|
|
PROTOTYPES: ENABLE
|
|
|