[FFmpeg-cvslog] configure: Add _XOPEN_SOURCE=600 to Solaris preprocessor flags.
Sean McGovern
git at videolan.org
Thu May 10 23:33:14 CEST 2012
ffmpeg | branch: master | Sean McGovern <gseanmcg at gmail.com> | Wed May 9 02:13:15 2012 -0400| [779222dbfe19ebe731dcdff460e1b1807b9285a7] | committer: Diego Biurrun
configure: Add _XOPEN_SOURCE=600 to Solaris preprocessor flags.
This is needed to expose some networking APIs.
Signed-off-by: Diego Biurrun <diego at biurrun.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=779222dbfe19ebe731dcdff460e1b1807b9285a7
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 4b1e551..79b948e 100755
--- a/configure
+++ b/configure
@@ -2452,7 +2452,7 @@ case $target_os in
SHFLAGS='-shared -Wl,-h,$$(@F)'
enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
network_extralibs="-lsocket -lnsl"
- add_cppflags -D__EXTENSIONS__
+ add_cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
# When using suncc to build, the Solaris linker will mark
# an executable with each instruction set encountered by
# the Solaris assembler. As our libraries contain their own
More information about the ffmpeg-cvslog
mailing list