summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-01 13:46:44 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-01 13:46:44 +0100
commitd3614be2e07baa6c1d7cebbab5e260481fbb2de9 (patch)
treefecabfb0d36c4e36a81f04bd1fde8f27fc1fb536 /source/packets/cPacket.h
parentnew cIsThread object for thread encapsulation (diff)
downloadcuberite-d3614be2e07baa6c1d7cebbab5e260481fbb2de9.tar
cuberite-d3614be2e07baa6c1d7cebbab5e260481fbb2de9.tar.gz
cuberite-d3614be2e07baa6c1d7cebbab5e260481fbb2de9.tar.bz2
cuberite-d3614be2e07baa6c1d7cebbab5e260481fbb2de9.tar.lz
cuberite-d3614be2e07baa6c1d7cebbab5e260481fbb2de9.tar.xz
cuberite-d3614be2e07baa6c1d7cebbab5e260481fbb2de9.tar.zst
cuberite-d3614be2e07baa6c1d7cebbab5e260481fbb2de9.zip
Diffstat (limited to 'source/packets/cPacket.h')
-rw-r--r--source/packets/cPacket.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h
index 3d6f812a9..7d85afc97 100644
--- a/source/packets/cPacket.h
+++ b/source/packets/cPacket.h
@@ -3,12 +3,9 @@
#include "../cSocket.h"
#include "../PacketID.h"
-#ifdef _WIN32
- // #include <xstring>
-#else
- #include <cstring> // Silly Linux doesn't have xstring...
- #include <cstdio>
-#endif
+
+
+
class cSocket;
class cPacket
@@ -55,3 +52,7 @@ public:
static int SendData( cSocket & a_Socket, const char* a_Message, unsigned int a_Size, int a_Options );
static int RecvAll( cSocket & a_Socket, char* a_Data, unsigned int a_Size, int a_Options );
};
+
+
+
+