diff options
-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) |