Use SUAVAILABLE macro in SUAppcast.m

This commit is contained in:
hofman authored and GitHub committed 2019-03-13 22:53:32 +01:00
1 parent 5d9f41142b
commit c40b42deb1
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@
[request setValue:@"application/rss+xml,*/*;q=0.1" forHTTPHeaderField:@"Accept"];
if ([SUOperatingSystem isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion){10, 9, 0}]) {
if (SUAVAILABLE(10, 9)) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunguarded-availability"
self.download = [[SPUDownloaderSession alloc] initWithDelegate:self];