[FFmpeg-devel] [PATCH] socklen_t definition
Tue Sep 18 09:04:15 CEST 2007
Rich Felker <dalias at aerifal.cx> writes:
> On Mon, Sep 17, 2007 at 04:41:34PM -0700, Dave Yeo wrote:
>> So it seems that it should be uint32_t. Also __uint32_t is typedef as
>> unsigned int in <386/_types.h>.
> uint32_t is unsigned int on every present gcc target, and probably
> also on all future targets that are remotely posixy.
That's probably true, but is also totally irrelevant. The question is
what to use in place of a missing socklen_t, and the answer to that is
system-dependent. For all we know, some system might be using long or
short rather than int.
mans at mansr.com
More information about the ffmpeg-devel