From b789d5ebf6bba3231cb77839cb48e7c5d9c43930 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 12 Mar 2012 13:31:34 +0000 Subject: Fixing compilation on Drawin 9 / MacOS X git-svn-id: http://mc-server.googlecode.com/svn/trunk@402 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- WebServer/Socket.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'WebServer') diff --git a/WebServer/Socket.cpp b/WebServer/Socket.cpp index 695d18b2b..59efc8127 100644 --- a/WebServer/Socket.cpp +++ b/WebServer/Socket.cpp @@ -46,6 +46,10 @@ #define MSG_NOSIGNAL (0) #endif +#ifndef MSG_NOSIGNAL + #define MSG_NOSIGNAL 0 +#endif // MSG_NOSIGNAL + using namespace std; int Socket::nofSockets_= 0; -- cgit v1.2.3