mirror of
https://github.com/apple/swift.git
synced 2026-10-18 17:49:23 +02:00
7 lines
271 B
C
7 lines
271 B
C
// Swift can't #if __has_include, so do it in a C header.
|
|
#if __has_include(<dispatch/swift_concurrency_private.h>)
|
|
static inline int HasSwiftConcurrencyPrivateHeader(void) { return 1; }
|
|
#else
|
|
static inline int HasSwiftConcurrencyPrivateHeader(void) { return 0; }
|
|
#endif
|