Skip to content
Snippets Groups Projects
Commit fe5093aa authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

This fixes build on netbsd and probably other bsd based Platforms

This reverts commit 56b8d106.
parent 5820358b
No related branches found
No related tags found
No related merge requests found
...@@ -4231,9 +4231,6 @@ probe_libc(){ ...@@ -4231,9 +4231,6 @@ probe_libc(){
elif check_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then elif check_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then
eval ${pfx}libc_type=solaris eval ${pfx}libc_type=solaris
add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 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 fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment