[libcxx-commits] [PATCH] D61336: [WebAssembly] WASI support for libcxx

Sam Clegg via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 30 13:57:13 PDT 2019


sbc100 accepted this revision.
sbc100 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: src/thread.cpp:28
 # include <unistd.h>
-#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__) || defined(__Fuchsia__)
+#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__) || defined(__Fuchsia__) || defined(__wasi__)
 
----------------
Does WASI not define `__CloudABI__`?


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61336/new/

https://reviews.llvm.org/D61336





More information about the libcxx-commits mailing list