--- include/mach-o/dyld.h.orig 2020-01-26 11:37:27.000000000 -0800 +++ include/mach-o/dyld.h 2020-01-26 11:37:39.000000000 -0800 @@ -35,6 +35,24 @@ extern "C" { #endif + +#undef __OSX_AVAILABLE_STARTING +#define __OSX_AVAILABLE_STARTING(...) +#undef __OSX_AVAILABLE_BUT_DEPRECATED +#define __OSX_AVAILABLE_BUT_DEPRECATED(...) +#undef __OSX_AVAILABLE_BUT_DEPRECATED_MSG +#define __OSX_AVAILABLE_BUT_DEPRECATED_MSG(...) +#undef __API_AVAILABLE +#define __API_AVAILABLE(...) +#undef __API_UNAVAILABLE +#define __API_UNAVAILABLE(...) +#undef __OSX_DEPRECATED +#define __OSX_DEPRECATED(...) + +#ifndef AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER +# define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER __attribute__((unavailable)) +#endif + /* * The following functions allow you to iterate through all loaded images. * This is not a thread safe operation. Another thread can add or remove