mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
try to fix compilation on glibc's with cpu sets (#14296)
This commit is contained in:
parent
1767e0274b
commit
7b51b8de38
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue