try to fix compilation on glibc's with cpu sets (#14296)
This commit is contained in:
parent
1767e0274b
commit
7b51b8de38
|
@ -107,6 +107,10 @@ corresponding Unix manual entries for more information on calls.");
|
|||
#include <sched.h>
|
||||
#endif
|
||||
|
||||
#if defined(CPU_ALLOC) && defined(HAVE_SCHED_SETAFFINITY)
|
||||
#undef HAVE_SCHED_SETAFFINITY
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__)
|
||||
#define USE_XATTRS
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue