[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

Dan Gohman via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 8 16:29:47 PST 2016


sunfish added a comment.

When adding new predefined macros, please also add the new macros to test/Preprocessor/init.c (and remove negative tests that no longer apply).

Also though, I'd also like to understand this a little more. Even with emulation, there will be limits to how Unixy a Web environment could be (though a non-Web environment could potentially do more). Which tests start passing with this?


https://reviews.llvm.org/D26431





More information about the cfe-commits mailing list