mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Always define noop MSG_NOSIGNAL, if not available in headers.
This commit is contained in:
parent
85da864aa6
commit
af39dd4921
@ -17,11 +17,14 @@
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MSG_NOSIGNAL
|
||||||
|
# define MSG_NOSIGNAL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# define MSG_NOSIGNAL 0
|
|
||||||
struct __wsinit
|
struct __wsinit
|
||||||
{
|
{
|
||||||
__wsinit()
|
__wsinit()
|
||||||
@ -40,7 +43,6 @@ static __wsinit InitWinSock()
|
|||||||
static __wsinit init;
|
static __wsinit init;
|
||||||
return init;
|
return init;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Socket::Socket()
|
Socket::Socket()
|
||||||
|
Loading…
Reference in New Issue
Block a user