forked from PsychoticNinja/irssi
it fallbacks to "module" again. If it is found, it tries to load several other modules too, like irc_module, fe_module and fe_irc_module. Split perl module to perl_core and fe_perl. Removed "_common" from some fe_common modules. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
21 lines
410 B
C
21 lines
410 B
C
#include <EXTERN.h>
|
|
#ifndef _SEM_SEMUN_UNDEFINED
|
|
#define HAS_UNION_SEMUN
|
|
#endif
|
|
#include <perl.h>
|
|
|
|
#undef _
|
|
#undef PACKAGE
|
|
|
|
/* For compatibility with perl 5.004 and older */
|
|
#ifndef ERRSV
|
|
# define ERRSV GvSV(errgv)
|
|
#endif
|
|
|
|
#include "common.h"
|
|
|
|
#define MODULE_NAME "irssi-perl"
|
|
|
|
extern GSList *perl_scripts;
|
|
extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */
|