Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Publishing nanopb-0.2.9
[apps/agl-service-can-low-level.git]
/
pb.h
diff --git
a/pb.h
b/pb.h
index
258ec92
..
210aa9f
100644
(file)
--- a/
pb.h
+++ b/
pb.h
@@
-46,7
+46,7
@@
/* Version of the nanopb library. Just in case you want to check it in
* your own program. */
/* Version of the nanopb library. Just in case you want to check it in
* your own program. */
-#define NANOPB_VERSION nanopb-0.2.
8
+#define NANOPB_VERSION nanopb-0.2.
9
/* Include all the system headers needed by nanopb. You will need the
* definitions of the following:
/* Include all the system headers needed by nanopb. You will need the
* definitions of the following:
@@
-80,8
+80,8
@@
# define PB_PACKED_STRUCT_START
# define PB_PACKED_STRUCT_END
# define pb_packed __attribute__((packed))
# define PB_PACKED_STRUCT_START
# define PB_PACKED_STRUCT_END
# define pb_packed __attribute__((packed))
-#elif defined(__ICCARM__)
- /* For IAR ARM
compiler
*/
+#elif defined(__ICCARM__)
|| defined(__CC_ARM)
+ /* For IAR ARM
and Keil MDK-ARM compilers
*/
# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)")
# define PB_PACKED_STRUCT_END _Pragma("pack(pop)")
# define pb_packed
# define PB_PACKED_STRUCT_START _Pragma("pack(push, 1)")
# define PB_PACKED_STRUCT_END _Pragma("pack(pop)")
# define pb_packed