1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

Merge pull request #1069 from adsr/master

php: use find_library to find libphp7.so
This commit is contained in:
Sébastien Helleu
2017-09-28 00:21:25 +02:00
committed by GitHub
2 changed files with 23 additions and 4 deletions
+7
View File
@@ -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));
}