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:
Diffstat (limited to 'intern/elbeem')
-rw-r--r--intern/elbeem/intern/simulation_object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/elbeem/intern/simulation_object.cpp b/intern/elbeem/intern/simulation_object.cpp
index d89b28bbf7a..9e98adfc734 100644
--- a/intern/elbeem/intern/simulation_object.cpp
+++ b/intern/elbeem/intern/simulation_object.cpp
@@ -33,7 +33,7 @@
LbmSolverInterface* createSolver();
#if PARALLEL==1
-int omp_threadcache;
+static int omp_threadcache;
#endif
/******************************************************************************
@@ -71,7 +71,7 @@ SimulationObject::~SimulationObject()
if(mpParam) delete mpParam;
if(mpParts) delete mpParts;
debMsgStd("SimulationObject",DM_MSG,"El'Beem Done!\n",10);
-#if PARALLEL==1
+#if (PARALLEL == 1)
omp_set_num_threads(omp_threadcache);
printf("Resetting omp_threads to cached value %d \n", omp_threadcache);
#endif