Define MSG_NOSIGNAL in windows if it doesn't exist. Windows doesn't have signals like SIGPIPE, so defining the flag as 0 is probably fine.
parent
456e52507b
commit
eab4eac275
|
@ -56,6 +56,10 @@ typedef int socklen_t;
|
|||
#define S_IXOTH 0000001
|
||||
#endif
|
||||
|
||||
#ifndef MSG_NOSIGNAL
|
||||
#define MSG_NOSIGNAL 0
|
||||
#endif
|
||||
|
||||
#define F_GETFL 3
|
||||
#define F_SETFL 4
|
||||
|
||||
|
|
Loading…
Reference in New Issue