mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2026-04-28 20:11:44 +01:00
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