diff options
author | madmaxoft <github@xoft.cz> | 2014-01-17 12:38:25 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-17 12:38:25 +0100 |
commit | c4f4eda3474bceff61fa275c416e57fe8a3de7fa (patch) | |
tree | bf8d619d6ed27c2ba2dc954301bf548b48d0ab90 /Tools/ProtoProxy/Globals.h | |
parent | ProtoProxy: Fixed #include filename case. (diff) | |
download | cuberite-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 'Tools/ProtoProxy/Globals.h')
-rw-r--r-- | Tools/ProtoProxy/Globals.h | 6 |
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 |