Salome HOME
merge from master
[tools/sat_salome.git] / products / patches / GMSHPLUGIN-BOS-18709.patch
1 diff --git a/src/GMSHPlugin/GMSHPlugin_Mesher.cxx b/src/GMSHPlugin/GMSHPlugin_Mesher.cxx
2 index 847526e..556c7bb 100644
3 --- a/src/GMSHPlugin/GMSHPlugin_Mesher.cxx
4 +++ b/src/GMSHPlugin/GMSHPlugin_Mesher.cxx
5 @@ -320,8 +320,10 @@ void GMSHPlugin_Mesher::SetGmshOptions()
6    ok = GmshSetOption("Mesh", "MaxNumThreads3D"          , 0. )  ; // Fine-grain algo threads HXT
7    ASSERT(ok);
8  **/
9 +  #ifndef WIN32
10    ok = GmshSetOption("General", "NumThreads"            , _maxThreads )  ; // system default i.e. OMP_NUM_THREADS
11    ASSERT(ok);
12 +  #endif WIN32
13  #endif
14  }
15