Revert "configure: Refactor setting of feature test macro _XOPEN_SOURCE"
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Sep 2014 15:05:55 +0000 (17:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Sep 2014 15:12:35 +0000 (17:12 +0200)
This fixes build on netbsd and probably other bsd based Platforms

This reverts commit 56b8d106769c5c5f9174dcc426f1ee2f991428b1.

configure

index 9b294f8..12b2da5 100755 (executable)
--- 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
 }