Salome HOME
Back to WIN32
[modules/smesh.git] / src / SMESH / SMESH_Gen.cxx
index a1e6a816c993ae6236266c04b6a7f831c3d1075f..4a020890e93a29e92dd8c2cb91c4cf7642b045ad 100644 (file)
 
 #include <Basics_Utils.hxx>
 
-#ifndef DISABLE_PSMESH
+#ifndef WIN32
 #include <boost/asio.hpp>
 #endif
 
 using namespace std;
-#ifndef DISABLE_PSMESH
+#ifndef WIN32
 #include <boost/filesystem.hpp>
 namespace fs = boost::filesystem;
 #endif
@@ -307,7 +307,7 @@ bool SMESH_Gen::parallelComputeSubMeshes(
           const bool complexShapeFirst,
           const bool   aShapeOnly)
 {
-#ifdef DISABLE_PSMESH
+#ifdef WIN32
   throw SALOME_Exception("ParallelMesh is not working on Windows");
 #else