mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
use pthread_setaffinity_np() only when it is available
This commit is contained in:
parent
7c7133e09d
commit
ddbe6126d3
2 changed files with 11 additions and 7 deletions
|
|
@ -370,7 +370,7 @@ AC_FUNC_SELECT_ARGTYPES
|
|||
AC_CHECK_FUNCS([chmod chown clock_gettime getaddrinfo getgrgid_r getgrnam_r \
|
||||
getpwnam_r getpwuid_r gettimeofday getuid inet_ntop inet_pton mlock nanosleep \
|
||||
pipe posix_fadvise posix_madvise posix_memalign setpgid setsid shm_open \
|
||||
sigaction sleep sysconf])
|
||||
sigaction sleep sysconf pthread_setaffinity_np])
|
||||
AC_CHECK_FUNCS([mkfifo], [HAVE_MKFIFO=1], [HAVE_MKFIFO=0])
|
||||
|
||||
AM_CONDITIONAL(HAVE_MKFIFO, test "x$HAVE_MKFIFO" = "x1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue