[FFmpeg-devel] [PATCH] os_support: define socket shutdown SHUT_xxx macros if they are not defined

Peter Ross pross at xvid.org
Sun Dec 9 00:20:03 EET 2018


On Wed, Nov 28, 2018 at 10:03:15PM +1100, Peter Ross wrote:
> sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro exists.
> and because of this, SHUT_xxx defs have been moved into the CONFIG_NETWORK block,
> since they only affect network capable platforms.
> ---
> 
> This is a minor reworking of Dave's suggestion to make it work on *nix and windows.

if no objections i will apply this one in next day or so.

because the patch drags in sys/socket.h, there is a chance it could affect some obscure
platform. hence why we have fate.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181209/6e60c425/attachment.sig>


More information about the ffmpeg-devel mailing list