From: rnv Date: Mon, 11 Oct 2021 10:30:49 +0000 (+0300) Subject: Add conditional compilation. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frnv%2Fnetgen6_windows;p=plugins%2Fnetgenplugin.git Add conditional compilation. --- diff --git a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx index f7df639..e35168d 100644 --- a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx @@ -66,7 +66,11 @@ namespace netgen { namespace nglib { NETGENPLUGIN_DLL_HEADER +#ifdef NETGEN_V6 extern netgen::NgArray > readedges; +#else + extern netgen::Array > readedges; +#endif } namespace