Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
d306e2ec
Commit
d306e2ec
authored
Feb 14, 2003
by
Ken Martin
Browse files
more Mac fixes
parent
d959340d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/Tcl/vtkTkAppInit.cxx
View file @
d306e2ec
...
...
@@ -43,7 +43,7 @@
# define VTK_TCL_PACKAGE_DIR VTK_TCL_PACKAGE_DIR_BUILD
#endif
#if
def
ined(
VTK_USE_RENDERING
) && !defined(VTK_USE_COCOA)
#ifdef
VTK_USE_RENDERING
# include "tk.h"
#else
# include "tcl.h"
...
...
@@ -132,7 +132,7 @@ main(int argc, char **argv)
VTKMPICleanup
.
Initialize
(
&
argc
,
&
argv
);
#endif // VTK_COMPILED_USING_MPI
#if
def
ined(
VTK_USE_RENDERING
) && !defined(VTK_USE_COCOA)
#ifdef
VTK_USE_RENDERING
Tk_Main
(
argc
,
argv
,
Tcl_AppInit
);
#else
Tcl_Main
(
argc
,
argv
,
Tcl_AppInit
);
...
...
@@ -196,7 +196,7 @@ int Tcl_AppInit(Tcl_Interp *interp)
if
(
Tcl_Init
(
interp
)
==
TCL_ERROR
)
{
return
TCL_ERROR
;
}
#if
def
ined(
VTK_USE_RENDERING
) && !defined(VTK_USE_COCOA)
#ifdef
VTK_USE_RENDERING
if
(
Tk_Init
(
interp
)
==
TCL_ERROR
)
{
return
TCL_ERROR
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment