libpthread-218.51.1.tar.gz
[apple/libpthread.git] / pthread / pthread_impl.h
index 887b56d2cfde88b03fd24ac8ea59b6bea9092c82..35d32d30216b423282d98aa481c0b54f8e5d9d0d 100644 (file)
 
 /* 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_ */