summaryrefslogtreecommitdiffstats
path: root/WebServer
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 14:31:34 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 14:31:34 +0100
commitb789d5ebf6bba3231cb77839cb48e7c5d9c43930 (patch)
treed69d18c66a6eca85f1f4e29bb5ecd61e4d3f602d /WebServer
parentStopping the ChunkSender upon server stop (diff)
downloadcuberite-b789d5ebf6bba3231cb77839cb48e7c5d9c43930.tar
cuberite-b789d5ebf6bba3231cb77839cb48e7c5d9c43930.tar.gz
cuberite-b789d5ebf6bba3231cb77839cb48e7c5d9c43930.tar.bz2
cuberite-b789d5ebf6bba3231cb77839cb48e7c5d9c43930.tar.lz
cuberite-b789d5ebf6bba3231cb77839cb48e7c5d9c43930.tar.xz
cuberite-b789d5ebf6bba3231cb77839cb48e7c5d9c43930.tar.zst
cuberite-b789d5ebf6bba3231cb77839cb48e7c5d9c43930.zip
Diffstat (limited to 'WebServer')
-rw-r--r--WebServer/Socket.cpp4
1 files changed, 4 insertions, 0 deletions
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;