summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-04-03 21:40:03 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-04-03 21:40:03 +0200
commit2b26348965941c961f1ad73cfc7c6605be5abf3e (patch)
treeb86254057f62a9048b115079c28e278491de70e0 /src
parent8bc6c1363b9ccf1f4fd6c74516317c062782199a (diff)
downloadweechat-2b26348965941c961f1ad73cfc7c6605be5abf3e.zip
perl: fix crash on quit on OS X
Diffstat (limited to 'src')
-rw-r--r--src/plugins/scripts/perl/weechat-perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c
index 5a05f4227..b8ecfcf75 100644
--- a/src/plugins/scripts/perl/weechat-perl.c
+++ b/src/plugins/scripts/perl/weechat-perl.c
@@ -1016,7 +1016,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
}
#endif
-#if defined(PERL_SYS_TERM) && !defined(__FreeBSD__) && !defined(WIN32) && !defined(__CYGWIN__)
+#if defined(PERL_SYS_TERM) && !defined(__FreeBSD__) && !defined(WIN32) && !defined(__CYGWIN__) && !(defined(__APPLE__) && defined(__MACH__))
/*
* we call this function on all OS, but NOT on FreeBSD or Cygwin,
* because it crashes with no reason (bug in Perl?)