diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-28 00:21:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 00:21:25 +0200 |
commit | 3c727cc04c8fc794c5bceaa781c65fe1124cc052 (patch) | |
tree | b7e8ae3d87445cd3297cbed88d19df115c398aee /src/plugins | |
parent | 01fff0a0d457707aa3077f43543de76f937b8395 (diff) | |
parent | 25f79ff2f54c495c5648324dff6e0415d0d4e2d3 (diff) | |
download | weechat-3c727cc04c8fc794c5bceaa781c65fe1124cc052.zip |
Merge pull request #1069 from adsr/master
php: use find_library to find libphp7.so
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/php/weechat-php.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index d4f6311f1..8a734799e 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -1090,8 +1090,15 @@ php_weechat_sapi_error (int type, const char *format, ...) } void +#if PHP_MINOR_VERSION >= 1 +php_weechat_log_message (char *message, int syslog_type_int) +#else php_weechat_log_message (char *message) +#endif { +#if PHP_MINOR_VERSION >= 1 + (void)syslog_type_int; +#endif php_weechat_ub_write (message, strlen (message)); } |