Skip to content

Commit

Permalink
Fix pre processor directive
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Jul 23, 2024
1 parent 272bae8 commit 34a08cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cpp/DBHostObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ DBHostObject::DBHostObject(jsi::Runtime &rt,
std::shared_ptr<react::CallInvoker> invoker,
std::shared_ptr<ThreadPool> thread_pool,
std::string &db_name, std::string &path,
std::string &url, std::string &auth_token, int sync_interval)
std::string &url, std::string &auth_token,
int sync_interval)
: db_name(db_name), jsCallInvoker(invoker), thread_pool(thread_pool),
rt(rt) {
BridgeResult result =
Expand Down Expand Up @@ -809,7 +810,7 @@ void DBHostObject::create_jsi_functions() {
function_map["getDbPath"] = std::move(get_db_path);
#ifdef OP_SQLITE_USE_LIBSQL
function_map["sync"] = std::move(sync);
#else OP_SQLITE_USE_LIBSQL
#else
function_map["loadFile"] = std::move(load_file);
function_map["updateHook"] = std::move(update_hook);
function_map["commitHook"] = std::move(commit_hook);
Expand Down

0 comments on commit 34a08cd

Please sign in to comment.