Преглед изворни кода

Follow up: Fix macro in GIDGoogleUser.m (#263)

Co-authored-by: Peter Andrews <petea@google.com>
pinlu пре 3 година
родитељ
комит
e587132bbc
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      GoogleSignIn/Sources/GIDGoogleUser.m

+ 3 - 3
GoogleSignIn/Sources/GIDGoogleUser.m

@@ -204,11 +204,11 @@ static NSTimeInterval const kMinimalTimeToExpire = 60.0;
   }
   
   [GIDSignIn.sharedInstance addScopes:scopes
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
              presentingViewController:presentingViewController
-#elif TARGET_OS_OSX || TARGET_OS_MACCATALYST
+#elif TARGET_OS_OSX
                      presentingWindow:presentingWindow
-#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST
                            completion:completion];
 }