You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
576 B
C
21 lines
576 B
C
|
|
#ifdef STRICT_MACOS_X
|
|
# define OBJC_NONPORTABLE __attribute__((error("Function not supported by the Apple runtime")))
|
|
#else
|
|
# define OBJC_NONPORTABLE
|
|
#endif
|
|
|
|
#if !defined(__DEPRECATE_DIRECT_ACCESS) || defined(__OBJC_LEGACY_GNU_MODE__) || defined(__OBJC_RUNTIME_INTERNAL__)
|
|
# define OBJC_DEPRECATED
|
|
#else
|
|
# define OBJC_DEPRECATED __attribute__((deprecated))
|
|
#endif
|
|
|
|
#ifdef ERROR_UNSUPPORTED_RUNTIME_FUNCTIONS
|
|
# define OBJC_GNUSTEP_RUNTIME_UNSUPPORTED(x) \
|
|
__attribute__((error(x " not supported by this runtime")))
|
|
#else
|
|
# define OBJC_GNUSTEP_RUNTIME_UNSUPPORTED(x)
|
|
#endif
|
|
|