diff options
author | Timo Sirainen <cras@irssi.org> | 2001-02-14 22:06:47 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-02-14 22:06:47 +0000 |
commit | bebb9d3de8b364dcb6b472161686baf39c325a6b (patch) | |
tree | 2800215b7e93d044dd93c494b2109009602be0c9 /src/perl/perl-common.h | |
parent | f4aef7c706890f1a10a9972adf4c32eb734c614e (diff) | |
download | irssi-bebb9d3de8b364dcb6b472161686baf39c325a6b.zip |
irssi_perl_interp -> my_perl and made it non-static. should help compiling
with some weird perl implementations.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1213 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/perl-common.h')
-rw-r--r-- | src/perl/perl-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/perl/perl-common.h b/src/perl/perl-common.h index e6519681..d01d014b 100644 --- a/src/perl/perl-common.h +++ b/src/perl/perl-common.h @@ -1,6 +1,8 @@ #ifndef __PERL_COMMON_H #define __PERL_COMMON_H +extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */ + /* helper defines */ #define new_pv(a) \ (newSVpv((a) == NULL ? "" : (a), (a) == NULL ? 0 : strlen(a))) |