サイト管理者はコメントに関する責任を負いません。
open-vm-toolsをOpenWrtで使う
投稿者: omasanori on 2018年11月22日(木) 03:27 JST

__MUSL__がない理由は、「どのlibcかではなく、どの機能・特性があるかをconfigure等で判別すべき」という方針だからですね。公式の回答を引用すると:

> Is it possible to add to the features.h __MUSL__ definition?
>
> glibc can be identified by __GLIBC__, uclibc through __UCLIBC__ etc.

Is this question in the FAQ yet? If not, it really should be. The answer is no, it won't be added, because it's a bug to assume a certain implementation has particular properties rather than testing. So far, every time somebody's asked for this with a particular usage case in mind, the usage case was badly wrong, and would have broken support for the next release of musl...