Move PACKED define to util.h (#22074)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user