diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-28 00:51:15 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-28 00:51:15 +0200 |
commit | 1eefbf6ba5186cd7f1a341e8c3e1687fc3ea813b (patch) | |
tree | 6c9eac7c5e6a2706e383fb939845f6e7d9063cbf /src/plugins | |
parent | b2d6d08c9e807bcfb36f1ef5a78909b449d2d08a (diff) | |
download | weechat-1eefbf6ba5186cd7f1a341e8c3e1687fc3ea813b.zip |
php: use PHP_VERSION_ID instead of PHP_MAJOR_VERSION and PHP_MINOR_VERSION
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/php/weechat-php.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index 7d286e5b1..133e7ca88 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -1089,7 +1089,7 @@ php_weechat_sapi_error (int type, const char *format, ...) free (vbuffer); } -#if PHP_MAJOR_VERSION > 7 || PHP_MINOR_VERSION >= 1 +#if PHP_VERSION_ID >= 70100 /* PHP >= 7.1 */ void php_weechat_log_message (char *message, int syslog_type_int) |