VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkTkInternals.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTkInternals.h.in
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
16 #ifndef __vtkTkInternals_h
17 #define __vtkTkInternals_h
18 
19 #include "vtkRenderingOpenGLConfigure.h" // for COCOA, CARBON, X11, WIN32
20 
21 /* #undef HAVE_LIMITS_H */
22 #define HAVE_UNISTD_H
23 
24 // This widget requires access to structures that are normally
25 // not visible to Tcl/Tk applications. For this reason you must
26 // have access to tkInt.h
27 // #include "tkInt.h"
28 #ifdef _WIN32
29 #ifdef __cplusplus
30 extern "C"
31 {
32 #endif
33 #include "tkWinInt.h"
34 #ifdef __cplusplus
35 }
36 #endif
37 #endif
38 
39 #ifdef VTK_USE_CARBON
40 // Tk #defines Status in:
41 // Tk.framework/Versions/8.4/Headers/X11/Xlib.h,
42 // which conflicts with a member of the FPUInformationIntel
43 // struct in Apple's new headers for i386:
44 // CarbonCore.framework/Versions/A/Headers/MachineExceptions.h
45 #if defined (i386)
46 #undef Status
47 #endif /* defined (i386) */
48 #include "tkMacOSXInt.h"
49 #endif
50 
51 #endif /* __vtkTkInternals_h */
52