summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Globals.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-17 12:38:25 +0100
committermadmaxoft <github@xoft.cz>2014-01-17 12:38:25 +0100
commitc4f4eda3474bceff61fa275c416e57fe8a3de7fa (patch)
treebf8d619d6ed27c2ba2dc954301bf548b48d0ab90 /Tools/ProtoProxy/Globals.h
parentProtoProxy: Fixed #include filename case. (diff)
downloadcuberite-c4f4eda3474bceff61fa275c416e57fe8a3de7fa.tar
cuberite-c4f4eda3474bceff61fa275c416e57fe8a3de7fa.tar.gz
cuberite-c4f4eda3474bceff61fa275c416e57fe8a3de7fa.tar.bz2
cuberite-c4f4eda3474bceff61fa275c416e57fe8a3de7fa.tar.lz
cuberite-c4f4eda3474bceff61fa275c416e57fe8a3de7fa.tar.xz
cuberite-c4f4eda3474bceff61fa275c416e57fe8a3de7fa.tar.zst
cuberite-c4f4eda3474bceff61fa275c416e57fe8a3de7fa.zip
Diffstat (limited to '')
-rw-r--r--Tools/ProtoProxy/Globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/ProtoProxy/Globals.h b/Tools/ProtoProxy/Globals.h
index ad81e6810..2b39bfae3 100644
--- a/Tools/ProtoProxy/Globals.h
+++ b/Tools/ProtoProxy/Globals.h
@@ -123,6 +123,12 @@ typedef unsigned short UInt16;
#include <semaphore.h>
#include <errno.h>
#include <fcntl.h>
+
+ typedef SOCKET int;
+ enum
+ {
+ INVALID_SOCKET = -1,
+ };
#if !defined(ANDROID_NDK)
#include <tr1/memory>
#endif