mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-17 22:48:21 +00:00
refactor: remove a bunch of linux-specific ifndefs
Now that we're stubbing winapi through stdafx, these need to go.
This commit is contained in:
@@ -17,12 +17,6 @@ int Connection::writeThreads = 0;
|
||||
int Connection::readSizes[256];
|
||||
int Connection::writeSizes[256];
|
||||
|
||||
#if defined(__linux__)
|
||||
#define INFINITE 999999999
|
||||
#define WAIT_TIMEOUT 258
|
||||
#include <unistd.h>
|
||||
#endif //__linux__
|
||||
|
||||
void Connection::_init()
|
||||
{
|
||||
// printf("Con:0x%x init\n",this);
|
||||
@@ -314,7 +308,7 @@ bool Connection::readTick()
|
||||
// printf("Con:0x%x readTick close EOS\n",this);
|
||||
|
||||
// 4J Stu - Remove this line
|
||||
// Fix for #10410 - UI: If the player is removed from a splitscreened host<73>s game, the next game that player joins will produce a message stating that the host has left.
|
||||
// Fix for #10410 - UI: If the player is removed from a splitscreened host<73>s game, the next game that player joins will produce a message stating that the host has left.
|
||||
//close(DisconnectPacket::eDisconnect_EndOfStream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user