FIxed some preprocessor includes

This commit is contained in:
Shoghi Cervantes 2014-12-07 22:05:45 +01:00
parent 9e3d432b9e
commit 8b6681c56d
5 changed files with 5 additions and 5 deletions

View File

@ -86,7 +86,7 @@ class CommandReader extends Thread{
if(($line = $this->readLine()) !== ""){
$this->buffer->synchronized(function (\Threaded $buffer, $line){
$buffer[] = preg_replace("#\\x1b\\x5b([^\\x1b]*\\x7e|[\\x40-\\x50])#", "", $line);
}, $this->buffer, $line);
}, $this->buffer, $line );
}elseif((microtime(true) - $lastLine) <= 0.1){ //Non blocking! Sleep to save CPU
usleep(40000);
}

View File

@ -21,7 +21,7 @@
namespace pocketmine\network\protocol;
#include <rules/DataPacket.h>
#include <rules/DataPacket.h>
#ifndef COMPILE
use pocketmine\utils\Binary;

View File

@ -21,7 +21,7 @@
namespace pocketmine\network\protocol;
#include <rules/DataPacket.h>
#include <rules/DataPacket.h>
#ifndef COMPILE
use pocketmine\utils\Binary;

View File

@ -21,7 +21,7 @@
namespace pocketmine\network\protocol;
#include <rules/DataPacket.h>
#include <rules/DataPacket.h>
#ifndef COMPILE
use pocketmine\utils\Binary;

View File

@ -21,7 +21,7 @@
namespace pocketmine\network\protocol;
#include <rules/DataPacket.h>
#include <rules/DataPacket.h>
#ifndef COMPILE
use pocketmine\utils\Binary;