[WebAuthN] Enable LocalAuthenticator for macOS
[WebKit-https.git] / Source / WebKit / Platform / spi / Cocoa / DeviceIdentitySPI.h
index 462b2b4..7477e40 100644 (file)
 
 #if ENABLE(WEB_AUTHN)
 
-#if PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)
+#if HAVE(DEVICE_IDENTITY)
 
 #if USE(APPLE_INTERNAL_SDK)
 
-#if __IPHONE_OS_VERSION_MAX_ALLOWED < 110300
-extern NSString * _Nonnull const kMAOptionsBAAAccessControls;
-#endif
-
 extern "C" {
 #import <DeviceIdentity/DeviceIdentity.h>
 }
@@ -58,6 +54,6 @@ void DeviceIdentityIssueClientCertificateWithCompletion(dispatch_queue_t _Nullab
 
 #endif // USE(APPLE_INTERNAL_SDK)
 
-#endif // PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)
+#endif // HAVE(DEVICE_IDENTITY)
 
 #endif // ENABLE(WEB_AUTHN)