00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTkInternals.h.in,v $ 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 #define HAVE_LIMITS_H 00020 #define HAVE_UNISTD_H 00021 00022 // This widget requires access to structures that are normally 00023 // not visible to Tcl/Tk applications. For this reason you must 00024 // have access to tkInt.h 00025 // #include "tkInt.h" 00026 #ifdef _WIN32 00027 extern "C" 00028 { 00029 #include "tkWinInt.h" 00030 } 00031 #endif 00032 00033 #ifdef VTK_USE_CARBON 00034 // Tk #defines Status in: 00035 // Tk.framework/Versions/8.4/Headers/X11/Xlib.h, 00036 // which conflicts with a member of the FPUInformationIntel 00037 // struct in Apple's new headers for i386: 00038 // CarbonCore.framework/Versions/A/Headers/MachineExceptions.h 00039 #if defined (i386) 00040 #undef Status 00041 #endif /* defined (i386) */ 00042 #include "tkMacOSXInt.h" 00043 #endif 00044 00045 #endif /* __vtkTkInternals_h */ 00046