We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e024ee1 + 268b1e9 commit 7899926Copy full SHA for 7899926
firestore/CMakeLists.txt
@@ -366,6 +366,11 @@ target_compile_definitions(firebase_firestore
366
${FIREBASE_FIRESTORE_CPP_DEFINES}
367
)
368
369
+# Set the Nanopb preprocessor definitions to match those used by the iOS SDK.
370
+target_compile_definitions(firebase_firestore
371
+ PUBLIC -DPB_FIELD_32BIT -DPB_ENABLE_MALLOC -DPB_NO_PACKED_STRUCTS
372
+)
373
+
374
if(ANDROID)
375
firebase_cpp_proguard_file(firestore)
376
0 commit comments