[FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris
Michael Niedermayer
michaelni at gmx.at
Tue Mar 10 13:30:15 CET 2015
On Tue, Mar 10, 2015 at 12:04:48PM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
>
> > > The cause is the following check in the relevant
> > > header /usr/include/netinet/in.h:
> > > #if !defined(_XPG4_2) || defined(__EXTENSIONS__)
> > > We had set __EXTENSIONS__ for many years and I
> > > don't remember any reports while we set it.
>
> > why is _XPG4_2 set ?
>
> One of the following is responsible afaict:
> -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
> -D_XOPEN_SOURCE=600 -std=c99
> I don't know which and I don't know how to find out.
re-reading the headers, i think they are actually broken
your original patch seems the only way to make this work, sorry
patch should be ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The educated differ from the uneducated as much as the living from the
dead. -- Aristotle
-------------- 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/20150310/d6f3e789/attachment.asc>
More information about the ffmpeg-devel
mailing list