[PATCH] D57155: [WebAssembly] Add a __wasi__ target macro

Dan Gohman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 24 06:43:32 PST 2019


sunfish created this revision.
sunfish added reviewers: sbc100, dschuff, aheejin.
Herald added subscribers: llvm-commits, jgravelle-google.
sunfish edited the summary of this revision.

This adds a `__wasi__` macro for the wasi OS, similar to `__linux__` etc. for other OS's.


Repository:
  rL LLVM

https://reviews.llvm.org/D57155

Files:
  lib/Basic/Targets.cpp
  lib/Basic/Targets/OSTargets.h
  test/Preprocessor/init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57155.183306.patch
Type: text/x-patch
Size: 4235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190124/3d7c0d27/attachment.bin>


More information about the cfe-commits mailing list