mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
use #if directives to conditionally @preconcurrency import the Dispatch module to enable building the package on linux
This commit is contained in:
1 parent
ed5f8c11ab
commit
5f2185a118
3 files changed
+9
No files matched your search
@@ -7,6 +7,9 @@ import SQLCipher
|
||||
import SQLite3
|
||||
#endif
|
||||
|
||||
#if !canImport(Darwin)
|
||||
@preconcurrency
|
||||
#endif
|
||||
import Dispatch
|
||||
import Foundation
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#if !canImport(Darwin)
|
||||
@preconcurrency
|
||||
#endif
|
||||
import Dispatch
|
||||
|
||||
/// SchedulingWatchdog makes sure that databases connections are used on correct
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#if !canImport(Darwin)
|
||||
@preconcurrency import Dispatch
|
||||
#endif
|
||||
import Foundation
|
||||
|
||||
// MARK: - Public
|
||||
|
||||
Reference in new issue
Block a user