Skip to content

Commit 28fb031

Browse files
committed
Attempt to make SQLite3 import private to avoid name clashes
1 parent 3e575d2 commit 28fb031

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module SQLExt [system] [extern_c] {
2-
header "../sqlite/sqlite3ext.h"
2+
header "../sqlite/sqlite3.h"
33
//export *
44
}

Sources/SkipSQL/SQLiteCLibrary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
33
#if !SKIP
44
#if canImport(SQLite3)
5-
import SQLite3
5+
private import SQLite3
66

77
/// The vendored SQLite3 library on Darwin platforms.
88
/// The version of this library will vary between OS version, so some features (e.g., JSON support) might not be available.

0 commit comments

Comments
 (0)