From eb151da0bb46a5d7864bd119a93e371840a75100 Mon Sep 17 00:00:00 2001 From: ana Date: Fri, 26 Aug 2016 19:49:43 +0300 Subject: [PATCH] Windows compatibility --- src/HYBRIDPlugin/MG_HYBRID_API.cxx | 2 ++ 1 file changed, 2 insertions(+) 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"; -- 2.39.2