From 8f273eb693fb6c4c231df691e1d60e71f1a6d02c Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 11 Oct 2021 13:30:49 +0300 Subject: [PATCH] Add conditional compilation. --- src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2