1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

perl: fix crash on quit on OS X

This commit is contained in:
Sebastien Helleu
2012-04-03 21:40:03 +02:00
parent 8bc6c1363b
commit 2b26348965
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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?)