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

php: add comments with PHP version

This commit is contained in:
Sébastien Helleu
2017-09-28 00:43:06 +02:00
parent 7483c2a311
commit b2d6d08c9e
+2
View File
@@ -1090,6 +1090,7 @@ php_weechat_sapi_error (int type, const char *format, ...)
}
#if PHP_MAJOR_VERSION > 7 || PHP_MINOR_VERSION >= 1
/* PHP >= 7.1 */
void
php_weechat_log_message (char *message, int syslog_type_int)
{
@@ -1098,6 +1099,7 @@ php_weechat_log_message (char *message, int syslog_type_int)
php_weechat_ub_write (message, strlen (message));
}
#else
/* PHP 7.0 */
void
php_weechat_log_message (char *message)
{