VTK  9.6.20260112
vtkTk.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3#ifndef vtkTk_h
4#define vtkTk_h
5
6#include "vtkTkAppInitConfigure.h"
7
8#ifdef VTK_TCL_TK_STATIC
9#ifndef STATIC_BUILD
10#define STATIC_BUILD
11#endif
12#endif
13
14#include <tk.h>
15
16// These conflict with definitions in KWsys Status.hxx
17// Defined in X11/X.h in Tk Headers directory:
18#ifdef Success
19#undef Success
20#endif
21// Defined in X11/Xlib.h in Tk Headers directory:
22#ifdef Status
23#undef Status
24#endif
25// Defined in X11/Xlibint.h
26#ifdef min
27#undef min
28#endif
29#ifdef max
30#undef max
31#endif
32// Defined in X11/Xutil.h
33#ifdef AllValues
34#undef AllValues
35#endif
36#ifdef NoValue
37#undef NoValue
38#endif
39#ifdef XValue
40#undef XValue
41#endif
42#ifdef YValue
43#undef YValue
44#endif
45
46#endif
47// VTK-HeaderTest-Exclude: vtkTk.h