[PATCH] D51441: Add predefined macro __gnu_linux__ for proper aux-triple

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 29 11:59:05 PDT 2018


yaxunl added a comment.

In https://reviews.llvm.org/D51441#1218010, @tra wrote:

> While we're here, perhaps `Builder.defineMacro("__linux__")` should be changed to `DefineStd("linux")` which defines `linux/__linux/__linux__`?


Will do when committing. Thanks.


https://reviews.llvm.org/D51441





More information about the cfe-commits mailing list