[FFmpeg-cvslog] Revert "configure: Refactor setting of feature test macro _XOPEN_SOURCE"

Michael Niedermayer git at videolan.org
Mon Sep 22 17:13:05 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Sep 22 17:05:55 2014 +0200| [fe5093aafc8fcbf4c14617bff269c4f8164c4a5c] | committer: Michael Niedermayer

Revert "configure: Refactor setting of feature test macro _XOPEN_SOURCE"

This fixes build on netbsd and probably other bsd based Platforms

This reverts commit 56b8d106769c5c5f9174dcc426f1ee2f991428b1.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe5093aafc8fcbf4c14617bff269c4f8164c4a5c
---

 configure |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure b/configure
index 9b294f8..12b2da5 100755
--- a/configure
+++ b/configure
@@ -4231,9 +4231,6 @@ probe_libc(){
     elif check_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then
         eval ${pfx}libc_type=solaris
         add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
-    # FFmpeg needs a POSIX.1-2001/XSI compliant C library
-    else
-        add_${pfx}cppflags -D_XOPEN_SOURCE=600
     fi
 }
 



More information about the ffmpeg-cvslog mailing list