[PATCH] D30278: [libcxx] Support threads on Fuchsia
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 19:21:18 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL296573: [libcxx] Support threads on Fuchsia (authored by phosek).
Changed prior to commit:
https://reviews.llvm.org/D30278?vs=89428&id=90117#toc
Repository:
rL LLVM
https://reviews.llvm.org/D30278
Files:
libcxx/trunk/src/thread.cpp
Index: libcxx/trunk/src/thread.cpp
===================================================================
--- libcxx/trunk/src/thread.cpp
+++ libcxx/trunk/src/thread.cpp
@@ -24,9 +24,9 @@
# endif // defined(BSD)
#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
-#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__)
+#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__) || defined(__Fuchsia__)
# include <unistd.h>
-#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__)
+#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__) || defined(__Fuchsia__)
#if defined(__NetBSD__)
#pragma weak pthread_create // Do not create libpthread dependency
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30278.90117.patch
Type: text/x-patch
Size: 835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170301/5de16c75/attachment.bin>
More information about the llvm-commits
mailing list