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

2018-12-08 Thread Peter Ross
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. > --- > > Thi

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

2018-11-28 Thread Peter Ross
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 wind