[FFmpeg-devel] [PATCH] Building ffmpeg for OpenSolaris/SPARC using GCCFSS 4.2.1

Palle Lyckegaard palle
Fri Jan 2 13:01:49 CET 2009


>
>> Futhermore the __EXTENSIONS__ define is activated only if building on
>> SunOS/Solaris/OpenSolaris.
>
> What is this needed for?

Solaris needs __EXTENSIONS__ defined otherwise libavformat/udp.c fails 
since ip_mreq is only visible with __EXTENSIONS__ defined (see 
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-September/053976.html 
for others discussing the issue).
My patch ensure that the define is only enabled when building on a Solaris 
host.

regards
Palle




More information about the ffmpeg-devel mailing list