[FFmpeg-devel] [PATCH 2/4] Define __EXTENSIONS__ to enable struct ip_mreq access on OpenSolaris.

Roman V. Shaposhnik rvs
Sun Sep 28 22:08:27 CEST 2008

On Sun, 2008-09-28 at 13:59 +0200, Diego 'Flameeyes' Petten? wrote:
> Like for recent GLIBC versions, even OpenSolaris hides the ip_mreq
> structure by default on C99/POSIX.1-2001 code, to access it, the
> __EXTENSIONS__ macro has to be defined.

You shouldn't really tinker with __* stuff directly. IIRC, there's
a more standard way of enabling ip_mreq (something along the lines
of defining a proper combination of XPG* and POSIX version). I'd
be very surprised if __EXTENSIONS__ were the only way to get what
you want.


More information about the ffmpeg-devel mailing list