mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +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>
|
||||
#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()
|
||||
|
Loading…
Reference in New Issue
Block a user