#include <windows.h>
#endif
-#ifndef DISABLE_PSMESH
+#ifndef WIN32
#include <boost/filesystem.hpp>
namespace fs=boost::filesystem;
#endif
-#ifndef DISABLE_PSMESH
+#ifndef WIN32
#include <boost/asio.hpp>
#endif
theDocument)
{
MESSAGE("SMESH_ParallelMesh::SMESH_ParallelMesh(int localId)");
-#ifndef DISABLE_PSMESH
+#ifndef WIN32
_NbThreads = std::thread::hardware_concurrency();
#else
_NbThreads = 0;
//=============================================================================
void SMESH_ParallelMesh::CreateTmpFolder()
{
-#ifndef DISABLE_PSMESH
+#ifndef WIN32
// Temporary folder that will be used by parallel computation
tmp_folder = fs::temp_directory_path()/fs::unique_path(fs::path("SMESH_%%%%-%%%%"));
fs::create_directories(tmp_folder);
//=============================================================================
void SMESH_ParallelMesh::DeleteTmpFolder()
{
-#ifndef DISABLE_PSMESH
+#ifndef WIN32
fs::remove_all(tmp_folder);
#endif
}