1 #include "common.h"
2 
3 #ifdef NEED_PERL_H
4 #  include <EXTERN.h>
5 #  ifndef _SEM_SEMUN_UNDEFINED
6 #    define HAS_UNION_SEMUN
7 #  endif
8 #  include <perl.h>
9 
10 #  undef _
11 #  undef PACKAGE
12 
13 extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */
14 #endif
15 
16 #define MODULE_NAME "perl/core"
17 
18 /* Change this every time when some API changes between irssi's perl module
19    (or irssi itself) and irssi's perl libraries. */
20 #define IRSSI_PERL_API_VERSION (20011214 + IRSSI_ABI_VERSION)
21