Commit 491b63cf authored by Sebastien Barre's avatar Sebastien Barre

FIX: better support for the Tcl/Tk 8.4 pre-release

parent 0e957632
......@@ -95,7 +95,7 @@ int vtkTkImageViewerWidget_Configure(Tcl_Interp *interp,
vtkTkImageViewerWidgetConfigSpecs,
argc,
#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4 && TCL_RELEASE_LEVEL >= TCL_FINAL_RELEASE)
const_cast<const char **>(argv),
const_cast<CONST84 char **>(argv),
#else
argv,
#endif
......
......@@ -363,7 +363,7 @@ int vtkTkRenderWidget_Configure(Tcl_Interp *interp,
vtkTkRenderWidgetConfigSpecs,
argc,
#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4 && TCL_RELEASE_LEVEL >= TCL_FINAL_RELEASE)
const_cast<const char **>(argv),
const_cast<CONST84 char **>(argv),
#else
argv,
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment