diff --git a/Sources/SQLite/Core/Connection.swift b/Sources/SQLite/Core/Connection.swift index 1bbf7f73..189f5116 100644 --- a/Sources/SQLite/Core/Connection.swift +++ b/Sources/SQLite/Core/Connection.swift @@ -587,7 +587,7 @@ public final class Connection { var flags = SQLITE_UTF8 #if !os(Linux) if deterministic { - flags |= SQLITE_DETERMINISTIC + flags |= SQLite.SQLITE_DETERMINISTIC } #endif sqlite3_create_function_v2(handle, function, Int32(argc), flags, unsafeBitCast(box, to: UnsafeMutableRawPointer.self), { context, argc, value in diff --git a/Sources/SQLiteObjc/include/SQLiteObjc.h b/Sources/SQLiteObjc/include/SQLiteObjc.h index e8ba9a7d..00900c2e 100644 --- a/Sources/SQLiteObjc/include/SQLiteObjc.h +++ b/Sources/SQLiteObjc/include/SQLiteObjc.h @@ -26,7 +26,7 @@ #if defined(SQLITE_SWIFT_STANDALONE) @import sqlite3; #else -@import SQLite3; +@import SQLCipher.sqlite3; #endif NS_ASSUME_NONNULL_BEGIN