From 62dc18c717ea8c47c87e825b94a568486f93c452 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Tue, 1 Apr 2014 11:23:28 +0200 Subject: Fix an unused function warning without openmp present, some typos --- source/blender/blenlib/intern/threads.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib/intern/threads.c') diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c index 78752fde608..95986b11292 100644 --- a/source/blender/blenlib/intern/threads.c +++ b/source/blender/blenlib/intern/threads.c @@ -58,12 +58,12 @@ #include #endif -#if defined(__APPLE__) -#if defined(_OPENMP) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 2) && !defined(__clang__) +#if defined(__APPLE__) && defined(_OPENMP) +#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 2) && !defined(__clang__) # define USE_APPLE_OMP_FIX #endif -/* how many cores not counting HT aka pysical cores */ +/* how many cores not counting HT aka physical cores */ static int system_physical_thread_count(void) { int ptcount; -- cgit v1.2.3