Skip to content

Commit 8aedfa2

Browse files
authored
Merge 9aa0c85 into 04b7555
2 parents 04b7555 + 9aa0c85 commit 8aedfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ add_external_subdirectory(nanopb)
242242

243243
target_compile_definitions(
244244
protobuf-nanopb-static PUBLIC
245-
-DPB_FIELD_32BIT -DPB_ENABLE_MALLOC
245+
-DPB_FIELD_32BIT -DPB_ENABLE_MALLOC -DPB_NO_PACKED_STRUCTS=1
246246
)
247247

248248
# Enable #include <nanopb/pb.h>

0 commit comments

Comments
 (0)