pthreads 4.0.0

This commit is contained in:
Dylan K. Taylor
2021-11-01 21:01:59 +00:00
parent 794142fe49
commit 3214da8642
5 changed files with 38 additions and 38 deletions

View File

@ -103,8 +103,8 @@ namespace pocketmine {
if(substr_count($pthreads_version, ".") < 2){
$pthreads_version = "0.$pthreads_version";
}
if(version_compare($pthreads_version, "3.2.0") < 0){
$messages[] = "pthreads >= 3.2.0 is required, while you have $pthreads_version.";
if(version_compare($pthreads_version, "4.0.0") < 0 || version_compare($pthreads_version, "5.0.0") > 0){
$messages[] = "pthreads ^4.0.0 is required, while you have $pthreads_version.";
}
}