Move PACKED
define to util.h (#22074)
This commit is contained in:
parent
7bfd775a5c
commit
2aacda3235
4 changed files with 7 additions and 42 deletions
|
@ -46,3 +46,7 @@
|
|||
*/
|
||||
# define ARRAY_SIZE(array) (__builtin_choose_expr(IS_ARRAY((array)), sizeof((array)) / sizeof((array)[0]), (void)0))
|
||||
#endif
|
||||
|
||||
#if !defined(PACKED)
|
||||
# define PACKED __attribute__((__packed__))
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue