[MPlayer-dev-eng] [PATCH] configure: socklen_t detection support
Compn
tempn at twmi.rr.com
Thu Jan 3 15:42:45 CET 2008
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-January/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
[cami:~/desktop] compn% uname -a
Darwin cami.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
powerpc
[cami:~/desktop] compn% locate unistd.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/libsa/unistd.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/unistd.h
/usr/include/sys/unistd.h
/usr/include/unistd.h
[cami:~/desktop] compn%
cat /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/libsa/unistd.h
| grep -i socklen [cami:~/desktop] compn%
| cat /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/unistd.h
| | grep -i socklen [cami:~/desktop] compn%
| | cat /usr/include/sys/unistd.h | grep -i socklen
[cami:~/desktop] compn% cat /usr/include/unistd.h | grep -i socklen
-compn
More information about the MPlayer-dev-eng
mailing list