提交 55174668 编写于 作者: L Luca Barbato

configure: Provide a safe default for unknonw libcs

Support musl out of box.

Amend commit 9d2cee52 that got
wrongly merged in its stead.
上级 4e03b209
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册