From fe5093aafc8fcbf4c14617bff269c4f8164c4a5c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 22 Sep 2014 17:05:55 +0200 Subject: [PATCH] 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. --- configure | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure b/configure index 9b294f861b..12b2da5dc2 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 }