Updated pthreads to 2.0.4

This commit is contained in:
Shoghi Cervantes 2014-03-28 23:50:09 +01:00
parent 7e03109576
commit 0d30dca5aa
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ branches:
- Core-Rewrite
before_script:
- pecl install channel://pecl.php.net/pthreads-2.0.2
- pecl install channel://pecl.php.net/pthreads-2.0.4
- echo | pecl install channel://pecl.php.net/yaml-1.1.1
script:

View File

@ -309,8 +309,8 @@ namespace PocketMine {
if(substr_count($pthreads_version, ".") < 2){
$pthreads_version = "0.$pthreads_version";
}
if(version_compare($pthreads_version, "2.0.0") < 0){
console("[ERROR] pthreads >= 2.0.0 is required, while you have $pthreads_version.", true, true, 0);
if(version_compare($pthreads_version, "2.0.4") < 0){
console("[ERROR] pthreads >= 2.0.4 is required, while you have $pthreads_version.", true, true, 0);
++$errors;
}
}

View File

@ -8,7 +8,7 @@ CURL_VERSION="curl-7_35_0"
READLINE_VERSION="6.3"
NCURSES_VERSION="5.9"
PHPNCURSES_VERSION="1.0.2"
PTHREADS_VERSION="2.0.3"
PTHREADS_VERSION="2.0.4"
WEAKREF_VERSION="0.2.2"
PHPYAML_VERSION="1.1.1"
YAML_VERSION="0.1.4"