mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2025-03-03 17:27:10 +00:00
[libcxx] GNU/Hurd uses BSD-based interfaces, but does not (and won't) provide <sys/sysctl.h>
Reviewed as https://reviews.llvm.org/D54338. Thanks to sthibaul for the patch. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@346763 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91400619da
commit
64d50b3eb5
@ -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__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user