Fix building on OSX when OMP is enabled.

Reported by sebastian_k over IRC, thanks!
This commit is contained in:
Bastien Montagne 2014-12-04 09:55:17 +01:00
parent 409043c69d
commit 3c1d286ca5
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{