Przeglądaj źródła

Merge pull request #419 from Fjohn666/patch-1

swift framework compatibility when using FTS 3
August "Gus" Mueller 10 lat temu
rodzic
commit
b6f7a7d931

+ 1 - 1
src/extra/fts3/FMDatabase+FTS3.m

@@ -8,7 +8,7 @@
 
 #import "FMDatabase+FTS3.h"
 #import "fts3_tokenizer.h"
-
+#include "sqlite3.h"
 NSString *const kFTSCommandOptimize = @"optimize";
 NSString *const kFTSCommandRebuild  = @"rebuild";
 NSString *const kFTSCommandIntegrityCheck = @"integrity-check";

+ 0 - 1
src/extra/fts3/fts3_tokenizer.h

@@ -24,7 +24,6 @@
 ** If tokenizers are to be allowed to call sqlite3_*() functions, then
 ** we will need a way to register the API consistently.
 */
-#include "sqlite3.h"
 
 /*
 ** Structures used by the tokenizer interface. When a new tokenizer