From c4f4eda3474bceff61fa275c416e57fe8a3de7fa Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 17 Jan 2014 12:38:25 +0100 Subject: ProtoProxy: Fixed compilation in Windows and in Linux. --- Tools/ProtoProxy/Globals.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Tools/ProtoProxy/Globals.h') 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 #include #include + + typedef SOCKET int; + enum + { + INVALID_SOCKET = -1, + }; #if !defined(ANDROID_NDK) #include #endif -- cgit v1.2.3