mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
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:
parent
5820358bbc
commit
fe5093aafc
3
configure
vendored
3
configure
vendored
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user