Skip to content

Commit

Permalink
Fix iOS preprocessor flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Apr 20, 2024
1 parent cf4585f commit 7891607
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cpp/bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ BridgeResult opsqlite_open(std::string const &dbName,
#endif

#ifdef OP_SQLITE_USE_CRSQLITE
LOGI("Should load CRSQlite now");
char *errMsg;
const char *crsqliteEntryPoint = "sqlite3_crsqlite_init";

Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ SPEC CHECKSUMS:
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120
glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
hermes-engine: 1a846a8f620a08c60f5f89aa65b8664f769f742f
op-sqlite: 182bbbdd9a93ea385a81401a85b98683886f3f51
op-sqlite: f57962a2173524a9ed69d4585a165dc410b6e10a
RCT-Folly: 045d6ecaa59d826c5736dfba0b2f4083ff8d79df
RCTDeprecation: 82b53c4f460b7a5b27c6be8310a71bc84df583f5
RCTRequired: d1a99a9f78fcc4acca99ab397822f4e58601b134
Expand Down
2 changes: 1 addition & 1 deletion op-sqlite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Pod::Spec.new do |s|

if ENV['OP_SQLITE_USE_CRSQLITE'] == '1' then
log_message.call("[OP-SQLITE] using CRQSQLite! 🤖")
xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += "-DOP_SQLITE_USE_CRSQLITE=1"
xcconfig[:GCC_PREPROCESSOR_DEFINITIONS] += " OP_SQLITE_USE_CRSQLITE=1"
s.vendored_frameworks = "ios/crsqlite.xcframework"
end

Expand Down

0 comments on commit 7891607

Please sign in to comment.