-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Needs Sendability on Linux.
- Loading branch information
Showing
4 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Plugins/Libraries/LighterGeneration/Utilities/ConcurrencyCompat.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// Created by Helge Heß. | ||
// Copyright © 2024 ZeeZide GmbH. | ||
// | ||
|
||
|
||
#if !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS)) && swift(>=5.9) | ||
#if compiler(<6) // seems necessary? | ||
import struct Foundation.CharacterSet | ||
import class Foundation.DateFormatter | ||
extension CharacterSet : @unchecked Sendable {} | ||
extension DateFormatter : @unchecked Sendable {} | ||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters