VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTkInternals.h.in 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 00016 #ifndef __vtkTkInternals_h 00017 #define __vtkTkInternals_h 00018 00019 #include "vtkRenderingOpenGLConfigure.h" // for COCOA, CARBON, X11, WIN32 00020 00021 #define HAVE_LIMITS_H 00022 #define HAVE_UNISTD_H 00023 00024 // This widget requires access to structures that are normally 00025 // not visible to Tcl/Tk applications. For this reason you must 00026 // have access to tkInt.h 00027 // #include "tkInt.h" 00028 #ifdef _WIN32 00029 #ifdef __cplusplus 00030 extern "C" 00031 { 00032 #endif 00033 #include "tkWinInt.h" 00034 #ifdef __cplusplus 00035 } 00036 #endif 00037 #endif 00038 00039 #ifdef VTK_USE_CARBON 00040 // Tk #defines Status in: 00041 // Tk.framework/Versions/8.4/Headers/X11/Xlib.h, 00042 // which conflicts with a member of the FPUInformationIntel 00043 // struct in Apple's new headers for i386: 00044 // CarbonCore.framework/Versions/A/Headers/MachineExceptions.h 00045 #if defined (i386) 00046 #undef Status 00047 #endif /* defined (i386) */ 00048 #include "tkMacOSXInt.h" 00049 #endif 00050 00051 #endif /* __vtkTkInternals_h */ 00052