From ea7128d3bd1cfc4568ae9fc72b388d2cec361116 Mon Sep 17 00:00:00 2001 From: OldMiR <38997875+OldMiR@users.noreply.github.com> Date: Thu, 10 May 2018 17:01:18 +0300 Subject: [PATCH] Update netbase.cpp --- src/netbase.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/netbase.cpp b/src/netbase.cpp index 289da13..4eea5e5 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -17,6 +17,11 @@ #endif #endif +// MSG_NOSIGNAL is not available on some platforms, if it doesn't exist define it as 0 +#if !defined(MSG_NOSIGNAL) +#define MSG_NOSIGNAL 0 +#endif + #include // for to_lower() #include // for startswith() and endswith()