File tree Expand file tree Collapse file tree 5 files changed +18
-8
lines changed
Expand file tree Collapse file tree 5 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -117,14 +117,14 @@ for index in package.targets.indices {
117117#if !os(Darwin)
118118 package . targets. append (
119119 . systemLibrary(
120- name: " SQLite3 " ,
120+ name: " StructuredQueriesSQLite3 " ,
121121 providers: [ . apt( [ " libsqlite3-dev " ] ) ]
122122 )
123123 )
124124
125125 for index in package . targets. indices {
126126 if package . targets [ index] . name == " StructuredQueriesSQLite " {
127- package . targets [ index] . dependencies. append ( " SQLite3 " )
127+ package . targets [ index] . dependencies. append ( " StructuredQueriesSQLite3 " )
128128 }
129129 }
130130#endif
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import Foundation
2- import SQLite3
32import StructuredQueries
43
4+ #if canImport(Darwin)
5+ import SQLite3
6+ #else
7+ import StructuredQueriesSQLite3
8+ #endif
9+
510public struct Database {
611 @usableFromInline
712 let storage : Storage
Original file line number Diff line number Diff line change 1- import SQLite3
21import StructuredQueries
32
3+ #if canImport(Darwin)
4+ import SQLite3
5+ #else
6+ import StructuredQueriesSQLite3
7+ #endif
8+
49@usableFromInline
510struct SQLiteQueryDecoder : QueryDecoder {
611 @usableFromInline
Original file line number Diff line number Diff line change 1+ module StructuredQueriesSQLite3 [system] {
2+ link "sqlite3"
3+ export *
4+ }
You can’t perform that action at this time.
0 commit comments