Don't include <sys/sysctl.h> on CloudABI.
As CloudABI does not provide sysctl(), this header is not present. Make thread.cpp build correctly (and pass all tests) by not including the header. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5a356a891
commit
21876f739e
@ -17,9 +17,9 @@
|
||||
#include "limits"
|
||||
#include <sys/types.h>
|
||||
#if !defined(_WIN32)
|
||||
# if !defined(__sun__) && !defined(__linux__) && !defined(_AIX) && !defined(__native_client__)
|
||||
# if !defined(__sun__) && !defined(__linux__) && !defined(_AIX) && !defined(__native_client__) && !defined(__CloudABI__)
|
||||
# include <sys/sysctl.h>
|
||||
# endif // !defined(__sun__) && !defined(__linux__) && !defined(_AIX) && !defined(__native_client__)
|
||||
# endif // !defined(__sun__) && !defined(__linux__) && !defined(_AIX) && !defined(__native_client__) && !defined(__CloudABI__)
|
||||
# include <unistd.h>
|
||||
#endif // !_WIN32
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user