diff options
-rw-r--r-- | src/pulsecore/core-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index f816da9f..f648af8a 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -3179,8 +3179,8 @@ void pa_reduce(unsigned *num, unsigned *den) { unsigned pa_ncpus(void) { long ncpus; -#ifdef _SC_NPROCESSORS_CONF - ncpus = sysconf(_SC_NPROCESSORS_CONF); +#ifdef _SC_NPROCESSORS_ONLN + ncpus = sysconf(_SC_NPROCESSORS_ONLN); #else ncpus = 1; #endif |