From c7b4b9f819e0c1335ece87695599474fc14fcdcf Mon Sep 17 00:00:00 2001 From: faketruth Date: Fri, 21 Oct 2011 21:25:29 +0000 Subject: Compiles for linux git-svn-id: http://mc-server.googlecode.com/svn/trunk@6 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSocket.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/cSocket.h') diff --git a/source/cSocket.h b/source/cSocket.h index 4a58ff2c9..cfbc2959f 100644 --- a/source/cSocket.h +++ b/source/cSocket.h @@ -6,7 +6,8 @@ #ifdef SendMessage #undef SendMessage #endif -#endif +#endif // _WIN32 + class cSocket { @@ -23,6 +24,7 @@ public: ~cSocket(); bool IsValid(); + void CloseSocket(); operator const xSocket() const; xSocket GetSocket() const; -- cgit v1.2.3