• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Rendering/vtkCocoaMacOSXSDKCompatibility.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003 Program:   Visualization Toolkit
00004 Module:    $RCSfile: vtkCocoaMacOSXSDKCompatibility.h,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 =========================================================================*/
00024 #ifdef __OBJC__
00025 
00026   #import <Foundation/Foundation.h>
00027 
00028   #ifndef NSINTEGER_DEFINED
00029     #ifdef NS_BUILD_32_LIKE_64
00030       typedef long NSInteger;
00031       typedef unsigned long NSUInteger;
00032     #else
00033       typedef int NSInteger;
00034       typedef unsigned int NSUInteger;
00035     #endif
00036     #define NSIntegerMax    LONG_MAX
00037     #define NSIntegerMin    LONG_MIN
00038     #define NSUIntegerMax   ULONG_MAX
00039     #define NSINTEGER_DEFINED 1
00040   #endif
00041 
00042 #endif
00043 
00044 #include <ApplicationServices/ApplicationServices.h>
00045 
00046 #ifndef CGFLOAT_DEFINED
00047   typedef float CGFloat;
00048   #define CGFLOAT_MIN FLT_MIN
00049   #define CGFLOAT_MAX FLT_MAX
00050   #define CGFLOAT_IS_DOUBLE 0
00051   #define CGFLOAT_DEFINED 1
00052 #endif

Generated by  doxygen 1.7.1