Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/_OpenAPIGeneratorCore/PlatformChecks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// Emit a compiler error if this library is linked with a target in an adopter
// project.
#if !(os(macOS) || os(Linux))
#if !(os(macOS) || targetEnvironment(macCatalyst) || os(Linux))
#error(
"_OpenAPIGeneratorCore is only to be used by swift-openapi-generator itself—your target should not link this library or the command line tool directly."
)
Expand Down