Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions dispatch/dispatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@
#ifdef __APPLE__
#include <Availability.h>
#include <TargetConditionals.h>
#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 <sys/cdefs.h>
#include <sys/types.h>
Expand Down