From: ana Date: Fri, 26 Aug 2016 16:49:43 +0000 (+0300) Subject: Windows compatibility X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fana%2Fv81br_win_compatibility;p=plugins%2Fhybridplugin.git Windows compatibility --- diff --git a/src/HYBRIDPlugin/MG_HYBRID_API.cxx b/src/HYBRIDPlugin/MG_HYBRID_API.cxx index 93d769f..80e0473 100644 --- a/src/HYBRIDPlugin/MG_HYBRID_API.cxx +++ b/src/HYBRIDPlugin/MG_HYBRID_API.cxx @@ -677,6 +677,7 @@ bool MG_HYBRID_API::LibData::Compute() status_t ret = hybrid_set_surface_mesh( _session, _surf_mesh ); if ( ret != STATUS_OK ) MG_Error( "unable to set surface mesh"); +#ifndef WIN32 // Set a sizemap if ( !_nodeSize.empty() ) { @@ -687,6 +688,7 @@ bool MG_HYBRID_API::LibData::Compute() ret = hybrid_set_sizemap( _session, _sizemap ); if ( ret != STATUS_OK ) MG_Error( "unable to set sizemap"); } +#endif ////////////////////////////////////////////////////////////////////////////////////////// // const char* file = "/tmp/ghs3d_IN.mesh";