X-Git-Url: https://git.saurik.com/apple/libpthread.git/blobdiff_plain/f1a1da6cf65a9d0e6858678f6c259025cf5d27fd..010efe49ed19075418796acfb56075924aa43936:/pthread/pthread_impl.h diff --git a/pthread/pthread_impl.h b/pthread/pthread_impl.h index 887b56d..35d32d3 100644 --- a/pthread/pthread_impl.h +++ b/pthread/pthread_impl.h @@ -29,6 +29,10 @@ /* This whole header file will disappear, so don't depend on it... */ +#if __has_feature(assume_nonnull) +_Pragma("clang assume_nonnull begin") +#endif + #ifndef __POSIX_LIB__ /* @@ -55,4 +59,8 @@ #endif /* __POSIX_LIB__ */ +#if __has_feature(assume_nonnull) +_Pragma("clang assume_nonnull end") +#endif + #endif /* _PTHREAD_IMPL_H_ */