mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 21:06:38 +02:00
php: use PHP_VERSION_ID instead of PHP_MAJOR_VERSION and PHP_MINOR_VERSION
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user