Skip to content

Commit

Permalink
Try to fix older visionOS builds
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=270740
rdar://124325293

Reviewed by Tim Horton.

Build fix for visionOS SDKs that do not have required QuickLook APIs.

* Source/WebKit/WebKitSwift/Preview/PreviewWindowController.swift:

Canonical link: https://commits.webkit.org/275883@main
  • Loading branch information
etiennesegonzac committed Mar 9, 2024
1 parent b72f93d commit ba446ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#if os(visionOS)

#if canImport(AssetViewer)
#if canImport(QuickLook, _version: 953)
import WebKitSwift

@_spi(PreviewApplication) import QuickLook
Expand Down

0 comments on commit ba446ad

Please sign in to comment.