[MPlayer-dev-eng] [PATCH] configure: socklen_t detection support
Andrew Savchenko
Bircoph at list.ru
Thu Jan 3 23:55:29 CET 2008
Hi,
On Thursday 03 January 2008 17:42, Compn wrote:
> On Thu, 03 Jan 2008 01:26:00 -0800, Dave Yeo wrote:
> >On 01/02/08 08:05 am, Andrew Savchenko wrote:
> >> Hello,
> >>
> >> the following patch seems to fix bug reported here:
> >> http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-Januar
> >>y/071090.html
> >>
> >> It adds configure check for socklen_t presence in the
> >> unistd.h.
> >
> >Curious, does darwin actually declare socklen_t in unistd.h?
> >Dave
>
> not on my system
Ok, then where is socklen_t declaration present on darwin os?
IMO, there are 2 possible solutions:
1) Add check for all possible headers on all supported systems.
2) Leave things as is (i.e. keep rev. 25592 untouched) and assume
socklen_t is asways defined on supported systems.
It's yours to decide, both solutions will work fine on Linux
systems 8-).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080104/c2769e45/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list