[FFmpeg-devel] [PATCH] socklen_t definition

Rich Felker dalias
Tue Sep 18 18:00:15 CEST 2007


On Tue, Sep 18, 2007 at 10:51:07AM +0200, Fran?ois Revol wrote:
> > 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.
> 
> It might be unsigned long on some targets that use 16 bit for native 
> ints.

Such targets are unusable (impossible to write portable software for
them since you have to use 'far pointers' and such nonsense), ancient,
and not supported by ffmpeg of any modern software.

Rich




More information about the ffmpeg-devel mailing list