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.

libnfs-4.0.0-vitalif
Daniel Abrecht 2018-04-29 12:02:08 +00:00
parent 456e52507b
commit eab4eac275
1 changed files with 4 additions and 0 deletions

View File

@ -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