diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-28 00:43:06 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-28 00:43:06 +0200 |
commit | b2d6d08c9e807bcfb36f1ef5a78909b449d2d08a (patch) | |
tree | 04248303aa89dfb13c4cdd7b626786f7d20d3333 /src | |
parent | 7483c2a311c92799ac7564b8312768cc8ddeb278 (diff) | |
download | weechat-b2d6d08c9e807bcfb36f1ef5a78909b449d2d08a.zip |
php: add comments with PHP version
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/php/weechat-php.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |