[FFmpeg-devel] [PATCH] socklen_t definition
Sun Sep 9 18:26:47 CEST 2007
Reimar D?ffinger wrote:
> On Sat, Sep 08, 2007 at 04:04:08PM +0200, Reimar D?ffinger wrote:
>> On Sat, Sep 08, 2007 at 04:38:54PM +0900, KO Myung-Hun wrote:
>>> This patch define 'socklen_t' based on feature checking.
>> I found some OS/2 build environment that has a header that declares
>> socklen_t. That IMO would be a preferable solution since it is both less
>> hackish than a hardcoded type and needs less additional code in
>> configure (I think there is already code to check for header
>> I'll write another email when I found out the name of the header,
>> hopefully later today.
> getaddrinfo.h is the header file that has a socklen_t typedef for me.
> Not sure if it's a good idea to use it but it's at least an option.
> Reimar D?ffinger
What OS/2 build enviroment are you looking at that has getaddrinfo.h?
Looking at the newest klibc06/gcc includes it doesn't exist.
Also I can not find any typedef for socklen_t in the headers. Closest is
in sys/_types.h which has
typedef __uint32_t __socklen_t;
which leaves me wondering if socklen_t shouldn't be typedef to uint32_t
More information about the ffmpeg-devel