From b2d6d08c9e807bcfb36f1ef5a78909b449d2d08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 28 Sep 2017 00:43:06 +0200 Subject: php: add comments with PHP version --- src/plugins/php/weechat-php.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/php') diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index 8dd3a3d45..7d286e5b1 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -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) { -- cgit v1.2.3