Always define noop MSG_NOSIGNAL, if not available in headers.

This commit is contained in:
Bartosz Taudul 2017-11-02 11:31:54 +01:00
parent 85da864aa6
commit af39dd4921

View File

@ -17,11 +17,14 @@
# include <unistd.h>
#endif
#ifndef MSG_NOSIGNAL
# define MSG_NOSIGNAL 0
#endif
namespace tracy
{
#ifdef _MSC_VER
# define MSG_NOSIGNAL 0
struct __wsinit
{
__wsinit()
@ -40,7 +43,6 @@ static __wsinit InitWinSock()
static __wsinit init;
return init;
}
#endif
Socket::Socket()