mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 03:34:56 +00:00
configure: Provide a safe default for unknonw libcs
Support musl out of box.
Amend commit 9d2cee52d3
that got
wrongly merged in its stead.
This commit is contained in:
parent
4e03b2097c
commit
5517466804
4
configure
vendored
4
configure
vendored
@ -3658,8 +3658,8 @@ probe_libc(){
|
||||
eval ${pfx}libc_type=solaris
|
||||
add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
|
||||
else
|
||||
eval ${pfx}libc_type=unknown
|
||||
add_${pfx}cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
|
||||
eval ${pfx}libc_type=default
|
||||
add_${pfx}cppflags -D_DEFAULT_SOURCE
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user