mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Added #define PL_sv_undef sv_undef for 5.004 compatibility
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1119 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
51a4e8bcb9
commit
0d7e4c1f54
@ -27,6 +27,11 @@ typedef struct {
|
||||
/* returns the package who called us */
|
||||
char *perl_get_package(void);
|
||||
|
||||
/* For compatibility with perl 5.004 and older */
|
||||
#ifndef HAVE_PL_PERL
|
||||
# define PL_sv_undef sv_undef
|
||||
#endif
|
||||
|
||||
#define irssi_bless(object) \
|
||||
((object) == NULL ? &PL_sv_undef : \
|
||||
irssi_bless_iobject((object)->type, (object)->chat_type, object))
|
||||
|
Loading…
Reference in New Issue
Block a user