diff options
author | 2019-06-17 22:28:47 +0000 | |
---|---|---|
committer | 2019-06-17 22:28:47 +0000 | |
commit | 308ed93135e1e5919c16767bd98e8835e42e613b (patch) | |
tree | 96ea3d17c9198fdc432e974c60f2ce769bf38ec4 /lib/libcxx/src/thread.cpp | |
parent | Import libunwind 8.0.0. (diff) | |
download | wireguard-openbsd-308ed93135e1e5919c16767bd98e8835e42e613b.tar.xz wireguard-openbsd-308ed93135e1e5919c16767bd98e8835e42e613b.zip |
Merge libc++, libc++abi and libunwind version 8.0.0.
Ports build by naddy@
Tested by visa on octeon
Tested by kettenis on macppc and sparc64
Diffstat (limited to 'lib/libcxx/src/thread.cpp')
-rw-r--r-- | lib/libcxx/src/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxx/src/thread.cpp b/lib/libcxx/src/thread.cpp index 62b8e9cb8b4..57ae90c686a 100644 --- a/lib/libcxx/src/thread.cpp +++ b/lib/libcxx/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 #endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__CloudABI__) || defined(__Fuchsia__) |