Skip to content

Commit

Permalink
Fix to be able to compile in CE as well
Browse files Browse the repository at this point in the history
  • Loading branch information
borrrden committed Jun 19, 2024
1 parent 35ad45b commit a63b7fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LiteCore/Storage/SQLiteDataFile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ namespace litecore {
// Maximum size WAL journal will be left at after a commit
static const int64_t kJournalSize = 5 * MB;

static map<string, int> kValidExtensionVersions = {
#ifdef COUCHBASE_ENTERPRISE
static constexpr int kVectorSearchCompatibleVersion = 1;

static map<string, int> kValidExtensionVersions = {{"CouchbaseLiteVectorSearch", kVectorSearchCompatibleVersion}};
{"CouchbaseLiteVectorSearch", 1}
#endif
};

// Amount of file to memory-map
#if TARGET_OS_OSX || TARGET_OS_SIMULATOR
Expand Down

0 comments on commit a63b7fe

Please sign in to comment.