aboutsummaryrefslogtreecommitdiffhomepage
path: root/GoogleUtilities/Network/GULNetworkURLSession.m
diff options
context:
space:
mode:
Diffstat (limited to 'GoogleUtilities/Network/GULNetworkURLSession.m')
-rw-r--r--GoogleUtilities/Network/GULNetworkURLSession.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/GoogleUtilities/Network/GULNetworkURLSession.m b/GoogleUtilities/Network/GULNetworkURLSession.m
index cb8a204..71409bc 100644
--- a/GoogleUtilities/Network/GULNetworkURLSession.m
+++ b/GoogleUtilities/Network/GULNetworkURLSession.m
@@ -445,7 +445,10 @@
if ([NSURLSessionConfiguration
respondsToSelector:@selector(backgroundSessionConfigurationWithIdentifier:)]) {
// Running on iOS 8+/OS X 10.10+.
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunguarded-availability"
return [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:sessionID];
+#pragma clang diagnostic pop
} else {
// Running on iOS 7/OS X 10.9.
return [NSURLSessionConfiguration backgroundSessionConfiguration:sessionID];