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

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 10 13:04:48 CET 2015


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.

Carl Eugen



More information about the ffmpeg-devel mailing list