From 10d0f42ae612cb4e50981a46ec084eadb8981006 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 4 Apr 2016 10:45:23 +0200 Subject: [PATCH] init OCC on non-windows OSs --- ng/ngpkg.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ng/ngpkg.cpp b/ng/ngpkg.cpp index 169717e8..db3e9a26 100644 --- a/ng/ngpkg.cpp +++ b/ng/ngpkg.cpp @@ -3181,10 +3181,8 @@ void PlayAnimFile(const char* name, int speed, int maxcnt) extern "C" int Ng_stl_Init (Tcl_Interp * interp); extern "C" int Ng_geom2d_Init (Tcl_Interp * interp); -#ifdef _MSC_VER #ifdef OCCGEOMETRY extern "C" int Ng_occ_Init (Tcl_Interp * interp); - #endif #endif @@ -3205,11 +3203,9 @@ void PlayAnimFile(const char* name, int speed, int maxcnt) Ng_CSG_Init(interp); Ng_stl_Init(interp); Ng_geom2d_Init (interp); -#ifdef _MSC_VER #ifdef OCCGEOMETRY Ng_occ_Init (interp); #endif -#endif // Ng_Geom2d_Init(interp);