1
0
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:
Sébastien Helleu
2017-09-28 00:51:15 +02:00
parent b2d6d08c9e
commit 1eefbf6ba5
+1 -1
View File
@@ -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)