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

This fixes build on netbsd and probably other bsd based Platforms

This reverts commit 56b8d10676.
This commit is contained in:
Michael Niedermayer 2014-09-22 17:05:55 +02:00
parent 5820358bbc
commit fe5093aafc

3
configure vendored
View File

@ -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
}