Fix building on OSX when OMP is enabled.
Reported by sebastian_k over IRC, thanks!
This commit is contained in:
parent
409043c69d
commit
3c1d286ca5
|
@ -103,6 +103,8 @@
|
|||
#if defined(__APPLE__) && defined _OPENMP
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include "BLI_threads.h"
|
||||
|
||||
/* Query how many cores not counting HT aka physical cores we've got. */
|
||||
static int system_physical_thread_count(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue