From ae5ba4002e86c56f9bc7ca622cd50325cc3c1f06 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Wed, 2 Mar 2011 21:50:49 +0000 Subject: [PATCH] geometry shared libs not yet available with MSVC --- ng/ngpkg.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ng/ngpkg.cpp b/ng/ngpkg.cpp index 5efe882c..c9a1ebce 100644 --- a/ng/ngpkg.cpp +++ b/ng/ngpkg.cpp @@ -2906,7 +2906,11 @@ namespace netgen extern "C" int Ng_Init (Tcl_Interp * interp); extern "C" int Ng_CSG_Init (Tcl_Interp * interp); - // extern "C" int Ng_stl_Init (Tcl_Interp * interp); + +#ifdef _MSC_VER + extern "C" int Ng_stl_Init (Tcl_Interp * interp); + extern "C" int Ng_geom2d_Init (Tcl_Interp * interp); +#endif #ifdef OCCGEOMETRY // extern "C" int Ng_occ_Init (Tcl_Interp * interp); @@ -2927,7 +2931,10 @@ namespace netgen #endif Ng_CSG_Init(interp); - // Ng_stl_Init(interp); +#ifdef _MSC_VER + Ng_stl_Init(interp); + Ng_geom2d_Init (interp); +#endif // Ng_Geom2d_Init(interp);