[PATCH] D54338: Fix threads build on GNU/Hurd
Samuel Thibault via Phabricator
reviews at reviews.llvm.org
Sat Nov 10 13:56:03 PST 2018
sthibaul updated this revision to Diff 173529.
sthibaul added a comment.
Ah, right, sorry, done so now.
Repository:
rCXX libc++
https://reviews.llvm.org/D54338
Files:
src/thread.cpp
Index: src/thread.cpp
===================================================================
--- src/thread.cpp
+++ src/thread.cpp
@@ -19,9 +19,9 @@
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
# include <sys/param.h>
-# if defined(BSD)
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__)
# include <sys/sysctl.h>
-# endif // defined(BSD)
+# endif // defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__)
#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__) || defined(__Fuchsia__)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54338.173529.patch
Type: text/x-patch
Size: 756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181110/2fe88ed3/attachment.bin>
More information about the libcxx-commits
mailing list