Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-04-01 13:23:28 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-04-01 13:23:28 +0400
commit62dc18c717ea8c47c87e825b94a568486f93c452 (patch)
treed43d4ff6b0ba4469377b5afef6e9cdde91b62ca2 /source/blender/blenlib/intern/threads.c
parent7955cb78d6ec403ee7a3c99f5228532cc44690e4 (diff)
Fix an unused function warning without openmp present, some typos
Diffstat (limited to 'source/blender/blenlib/intern/threads.c')
-rw-r--r--source/blender/blenlib/intern/threads.c6
1 files changed, 3 insertions, 3 deletions
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 <omp.h>
#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;