summaryrefslogtreecommitdiff
path: root/src/perl/module.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-03 07:34:12 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-03 07:34:12 +0000
commit1e4c658a188456e957dd99d07b70aa23be5c0dcb (patch)
treeb533cd728d6f5120e7835aa2a9fb53aa630dd31d /src/perl/module.h
parentdb66d47e26965c46d7449b7e197f58be58e91ed3 (diff)
downloadirssi-1e4c658a188456e957dd99d07b70aa23be5c0dcb.zip
Removed the "signal" and "last signal" signals. Changed perl's
signaling system to work without them, it should now work faster and better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1053 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/module.h')
-rw-r--r--src/perl/module.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/perl/module.h b/src/perl/module.h
index 986e32e1..4e1d9b2f 100644
--- a/src/perl/module.h
+++ b/src/perl/module.h
@@ -1,3 +1,17 @@
+#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"