diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-25 13:26:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-25 13:27:21 +0200 |
commit | 08a110ca871e82630d5f6f834922014cd375f524 (patch) | |
tree | 6c9569ebd49b54dd5290cb6de8d1b96fb8e7be63 /libavformat/network.h | |
parent | 215db2935b06c0e936dadce012a31de7da25ba97 (diff) | |
parent | 6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f (diff) | |
download | ffmpeg-08a110ca871e82630d5f6f834922014cd375f524.tar.gz |
Merge commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f'
* commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f':
libavformat: use MSG_NOSIGNAL when applicable
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/network.h')
-rw-r--r-- | libavformat/network.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h index 5ca906491a..d89a62daa3 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -111,6 +111,10 @@ struct sockaddr_storage { }; #endif /* !HAVE_STRUCT_SOCKADDR_STORAGE */ +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif + #if !HAVE_STRUCT_ADDRINFO struct addrinfo { int ai_flags; |