init OCC on non-windows OSs

This commit is contained in:
Matthias 2016-04-04 10:45:23 +02:00
parent ad6785731f
commit 10d0f42ae6

View File

@ -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_stl_Init (Tcl_Interp * interp);
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp); extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
#ifdef _MSC_VER
#ifdef OCCGEOMETRY #ifdef OCCGEOMETRY
extern "C" int Ng_occ_Init (Tcl_Interp * interp); extern "C" int Ng_occ_Init (Tcl_Interp * interp);
#endif
#endif #endif
@ -3205,11 +3203,9 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
Ng_CSG_Init(interp); Ng_CSG_Init(interp);
Ng_stl_Init(interp); Ng_stl_Init(interp);
Ng_geom2d_Init (interp); Ng_geom2d_Init (interp);
#ifdef _MSC_VER
#ifdef OCCGEOMETRY #ifdef OCCGEOMETRY
Ng_occ_Init (interp); Ng_occ_Init (interp);
#endif #endif
#endif
// Ng_Geom2d_Init(interp); // Ng_Geom2d_Init(interp);