Created attachment 94156 [details] Replace get_nprocs_conf with sysconf(_SC_NPROCESSORS_CONF) get_nprocs_conf is only available on GNU/Linux. According to the man pages, it is the same as sysconf(_SC_NPROCESSORS_CONF), so we should use it instead.
Comment on attachment 94156 [details] Replace get_nprocs_conf with sysconf(_SC_NPROCESSORS_CONF) Sorry, I found _SC_NPROCESSORS_CONF is also not standard. We should find a better way to replace get_nprocs_conf, and we cannot use this patch.
Sqme bug was opened there almost a year ago... https://bugs.launchpad.net/libzeitgeist/+bug/1161565 (with a similar patch)
g_get_num_processors()
pushed fix to master
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.