+
+
+/* OBJC2_UNAVAILABLE: unavailable in objc 2.0, deprecated in Leopard */
+#if !defined(OBJC2_UNAVAILABLE)
+# if __OBJC2__
+# define OBJC2_UNAVAILABLE UNAVAILABLE_ATTRIBUTE
+# else
+# define OBJC2_UNAVAILABLE DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER
+# endif
+#endif
+
+/* OBJC_ARC_UNAVAILABLE: unavailable with -fobjc-arc */
+#if !defined(OBJC_ARC_UNAVAILABLE)
+# if __has_feature(objc_arr)
+# if __has_extension(attribute_unavailable_with_message)
+# define OBJC_ARC_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
+# else
+# define OBJC_ARC_UNAVAILABLE __attribute__((unavailable))
+# endif
+# else
+# define OBJC_ARC_UNAVAILABLE
+# endif
+#endif
+
+/* OBJC_GC_UNAVAILABLE: unavailable with -fobjc-gc or -fobjc-gc-only */
+#if !defined(OBJC_GC_UNAVAILABLE)
+# if __OBJC_GC__
+# if __has_extension(attribute_unavailable_with_message)
+# define OBJC_GC_UNAVAILABLE __attribute__((unavailable("not available in garbage collecting mode")))
+# else
+# define OBJC_GC_UNAVAILABLE __attribute__((unavailable))
+# endif
+# else
+# define OBJC_GC_UNAVAILABLE
+# endif
+#endif
+
+#if !defined(OBJC_EXTERN)
+# if defined(__cplusplus)
+# define OBJC_EXTERN extern "C"
+# else
+# define OBJC_EXTERN extern
+# endif
+#endif
+
+#if !defined(OBJC_VISIBLE)
+# if TARGET_OS_WIN32
+# if defined(BUILDING_OBJC)
+# define OBJC_VISIBLE __declspec(dllexport)
+# else
+# define OBJC_VISIBLE __declspec(dllimport)
+# endif
+# else
+# define OBJC_VISIBLE __attribute__((visibility("default")))
+# endif
+#endif
+
+#if !defined(OBJC_EXPORT)
+# define OBJC_EXPORT OBJC_EXTERN OBJC_VISIBLE