From 8a79ddaa7a3c2dc79f38b7c05eb8158f4755d538 Mon Sep 17 00:00:00 2001 From: Jan Berkel Date: Tue, 14 Mar 2017 11:48:07 +0100 Subject: [PATCH] Fix regression introduced in 4e6b1e00466299136f826ccb7f2c6995eb81b8b2 --- Sources/SQLite/Core/Connection.swift | 2 +- Sources/SQLite/Core/Statement.swift | 2 +- Sources/SQLite/Helpers.swift | 2 +- Tests/SQLiteTests/ConnectionTests.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/SQLite/Core/Connection.swift b/Sources/SQLite/Core/Connection.swift index 066117566..c0678387c 100644 --- a/Sources/SQLite/Core/Connection.swift +++ b/Sources/SQLite/Core/Connection.swift @@ -28,7 +28,7 @@ import Dispatch import sqlite3 #elseif SQLITE_SWIFT_SQLCIPHER import SQLCipher -#else +#elseif SWIFT_PACKAGE || COCOAPODS import CSQLite #endif diff --git a/Sources/SQLite/Core/Statement.swift b/Sources/SQLite/Core/Statement.swift index 766bd15b1..a9232bba3 100644 --- a/Sources/SQLite/Core/Statement.swift +++ b/Sources/SQLite/Core/Statement.swift @@ -26,7 +26,7 @@ import sqlite3 #elseif SQLITE_SWIFT_SQLCIPHER import SQLCipher -#else +#elseif SWIFT_PACKAGE || COCOAPODS import CSQLite #endif diff --git a/Sources/SQLite/Helpers.swift b/Sources/SQLite/Helpers.swift index 81a7507ed..50b21d0d5 100644 --- a/Sources/SQLite/Helpers.swift +++ b/Sources/SQLite/Helpers.swift @@ -26,7 +26,7 @@ import sqlite3 #elseif SQLITE_SWIFT_SQLCIPHER import SQLCipher -#else +#elseif SWIFT_PACKAGE || COCOAPODS import CSQLite #endif diff --git a/Tests/SQLiteTests/ConnectionTests.swift b/Tests/SQLiteTests/ConnectionTests.swift index 59514a25c..2f033bad0 100644 --- a/Tests/SQLiteTests/ConnectionTests.swift +++ b/Tests/SQLiteTests/ConnectionTests.swift @@ -5,7 +5,7 @@ import XCTest import sqlite3 #elseif SQLITE_SWIFT_SQLCIPHER import SQLCipher -#else +#elseif SWIFT_PACKAGE || COCOAPODS import CSQLite #endif