diff --git a/dispatch/dispatch.h b/dispatch/dispatch.h index 52cd3e707..585940cc0 100644 --- a/dispatch/dispatch.h +++ b/dispatch/dispatch.h @@ -24,14 +24,20 @@ #ifdef __APPLE__ #include #include -#endif - +#else #ifndef API_AVAILABLE #define API_AVAILABLE(...) +#endif +#ifndef API_DEPRECATED #define API_DEPRECATED(...) +#endif +#ifndef API_UNAVAILABLE #define API_UNAVAILABLE(...) +#endif +#ifndef API_DEPRECATED_WITH_REPLACEMENT #define API_DEPRECATED_WITH_REPLACEMENT(...) -#endif // !API_AVAILABLE +#endif +#endif // __APPLE__ #include #include