pthreads 2.0.2 \(^.^)/

This commit is contained in:
Shoghi Cervantes 2014-03-18 00:50:03 +01:00
parent 28e17fe808
commit d53656b2a8
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ php:
- 5.6 - 5.6
before_script: before_script:
- pecl install channel://pecl.php.net/pthreads-0.1.0 - pecl install channel://pecl.php.net/pthreads-2.0.2
- echo | pecl install channel://pecl.php.net/yaml-1.1.1 - echo | pecl install channel://pecl.php.net/yaml-1.1.1
script: script:

View File

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

View File

@ -6,7 +6,7 @@ ZLIB_VERSION="1.2.8"
OPENSSL_VERSION="1.0.0l" OPENSSL_VERSION="1.0.0l"
CURL_VERSION="curl-7_35_0" CURL_VERSION="curl-7_35_0"
LIBEDIT_VERSION="0.3" LIBEDIT_VERSION="0.3"
PTHREADS_VERSION="1.0.1" PTHREADS_VERSION="2.0.2"
WEAKREF_VERSION="0.2.2" WEAKREF_VERSION="0.2.2"
PHPYAML_VERSION="1.1.1" PHPYAML_VERSION="1.1.1"
YAML_VERSION="0.1.4" YAML_VERSION="0.1.4"