Use SUAVAILABLE macro in SUBasicUpdateDriver.m

This commit is contained in:
hofman authored and GitHub committed 2019-03-13 22:55:27 +01:00
1 parent c40b42deb1
commit 2a802447a3
1 file changed
+1 -1
+1 -1
View File
@@ -283,7 +283,7 @@
withRequest:request];
}
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];