From: ana Date: Fri, 26 Aug 2016 16:49:43 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V8_1_0rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb151da0bb46a5d7864bd119a93e371840a75100;p=plugins%2Fhybridplugin.git Windows compatibility --- diff --git a/src/HYBRIDPlugin/MG_HYBRID_API.cxx b/src/HYBRIDPlugin/MG_HYBRID_API.cxx index de009db..f32793d 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";