[FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

Michael Niedermayer michaelni at gmx.at
Mon Mar 9 23:41:28 CET 2015

On Thu, Feb 26, 2015 at 05:23:52PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> A user reported that the Solaris libc detection has never worked on all 
> installations. Attached patch forces the definition of __EXTENSIONS__ 
> which is needed for network compilation.
> This fixes the following error:
> libavformat/udp.c:174: error: storage size of 'mreq' isn't known
> Please comment, Carl Eugen

i do not know it but i have the suspicion that this is wrong
maybe theres some _XOPEN_SOURCE or _WHATEVER_SOURCE
not set/detected correctly
the feature_tests.h and the header that contains mreq likely should
point at what is the cause

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/8492da74/attachment.asc>

More information about the ffmpeg-devel mailing list