summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/perl/perl-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/perl/perl-common.h b/src/perl/perl-common.h
index 50469942..cef0036f 100644
--- a/src/perl/perl-common.h
+++ b/src/perl/perl-common.h
@@ -36,6 +36,10 @@ extern STRLEN PL_na;
# define pTHX_
#endif
+#ifndef aTHX_
+# define aTHX_
+#endif
+
#define iobject_bless(object) \
((object) == NULL ? &PL_sv_undef : \
irssi_bless_iobject((object)->type, (object)->chat_type, object))