Go to the documentation of this file.
24 #include <AvailabilityMacros.h>
26 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1050
27 #error VTK requires the Mac OS X 10.5 SDK or later
30 #if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
31 #error VTK requires a deployment target of Mac OS X 10.5 or later
36 #define __has_feature(x) 0
41 #if defined(__OBJC_GC__)
42 #define VTK_OBJC_IS_MRR 0
43 #define VTK_OBJC_IS_ARC 0
44 #define VTK_OBJC_IS_GC 1
45 #elif __has_feature(objc_arc)
46 #define VTK_OBJC_IS_MRR 0
47 #define VTK_OBJC_IS_ARC 1
48 #define VTK_OBJC_IS_GC 0
50 #define VTK_OBJC_IS_MRR 1
51 #define VTK_OBJC_IS_ARC 0
52 #define VTK_OBJC_IS_GC 0
55 #if __has_feature(objc_arc)
56 #error VTK does not yet support ARC memory management