[FFmpeg-devel] [PATCH] socklen_t definition
Mon Dec 31 02:12:33 CET 2007
On 12/30/07 12:46 pm, Michael Niedermayer wrote:
> On Sun, Dec 23, 2007 at 06:08:37PM -0800, Dave Yeo wrote:
>> With more talk about libossupport I thought it might be a good time to
>> resurrect KO Myung-Hun's socklen_t patch. Still typedefs it to int as that
>> is what OS/2 and Beos use.
>> Not sure about the windows bit that KO added.
> [configure i dont maintain]
>> Index: libavformat/os_support.h
>> --- libavformat/os_support.h (revision 11311)
>> +++ libavformat/os_support.h (working copy)
>> @@ -27,7 +27,7 @@
>> * miscellaneous OS support macros and functions.
>> -#if defined(__BEOS__) || defined(__INNOTEK_LIBC__)
>> +#ifndef HAVE_SOCKLEN_T
>> typedef int socklen_t;
> probably ok
Updated patch attached with unrelated stuff removed.
Looking at the Windows headers that come with OpenWatcom socklen_t is
declared in ws2tcpip.h.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1450 bytes
Desc: not available
More information about the ffmpeg-devel