Unreviewed, a quick fix for r229699
authorjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Mar 2018 20:06:21 +0000 (20:06 +0000)
committerjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Mar 2018 20:06:21 +0000 (20:06 +0000)
* pal/spi/cocoa/DeviceIdentitySPI.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229708 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/cocoa/DeviceIdentitySPI.h

index e7ef373..4b9f852 100644 (file)
@@ -1,3 +1,9 @@
+2018-03-19  Jiewen Tan  <jiewen_tan@apple.com>
+
+        Unreviewed, a quick fix for r229699
+
+        * pal/spi/cocoa/DeviceIdentitySPI.h:
+
 2018-03-17  Jiewen Tan  <jiewen_tan@apple.com>
 
         [WebAuthN] Implement authenticatorMakeCredential
index 7af384c..960f267 100644 (file)
 
 #if ENABLE(WEB_AUTHN)
 
-#if USE(APPLE_INTERNAL_SDK) && PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
+#if PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
+
+#if USE(APPLE_INTERNAL_SDK)
+
+#if __IPHONE_OS_VERSION_MAX_ALLOWED < 110300
+extern NSString * _Nonnull const kMAOptionsBAAAccessControls;
+#endif
 
 extern "C" {
 #import <DeviceIdentity/DeviceIdentity.h>
@@ -50,6 +56,8 @@ extern NSString * _Nonnull const kMAOptionsBAAValidity;
 extern "C"
 void DeviceIdentityIssueClientCertificateWithCompletion(dispatch_queue_t _Nullable, NSDictionary * _Nullable options, MABAACompletionBlock _Nonnull);
 
-#endif // USE(APPLE_INTERNAL_SDK) && PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
+#endif // USE(APPLE_INTERNAL_SDK)
+
+#endif // PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
 
 #endif // ENABLE(WEB_AUTHN)